apiAtLeast

fun apiAtLeast(level: Int): Boolean

Returns true if the running platform is at least the given SDK level.

Parameters

level

Minimum Build.VERSION.SDK_INT required.