BuildVersionSdkIntProvider

interface BuildVersionSdkIntProvider

Functions

Link copied to clipboard
abstract fun get(): Int

Return the current version of the Android SDK.

Link copied to clipboard
@ChecksSdkIntAtLeast(parameter = 0)
open fun isAtLeast(version: Int): Boolean
Link copied to clipboard
@ChecksSdkIntAtLeast(parameter = 0, lambda = 1)
open fun <T> whenAtLeast(version: Int, result: () -> T): T?

Checks the if the current OS version is equal or greater than version.

Inheritors

Link copied to clipboard