osVersion

fun osVersion(sdk: Int, release: String?, patch: String): String

Describes the Android version, API level and security patch cohort.

Return

Human-readable OS version summary.

Parameters

sdk

Build.VERSION.SDK_INT.

release

Build.VERSION.RELEASE, or null.

patch

Security patch date string.