isAtLeastS

@ChecksSdkIntAtLeast(api = 31, codename = "S")
fun isAtLeastS(): Boolean(source)

Deprecated

Android S is a finalized release and this method is no longer necessary. It will be removed in a future release of this library. Instead, use `Build.VERSION.SDK_INT >= 31`.

Replace with

android.os.Build.VERSION.SDK_INT >= 31

Checks if the device is running on a pre-release version of Android S or a release version of Android S or newer.

Return

true if S APIs are available for use, false otherwise