Android Utililty Methods SDK Version

List of utility methods to do SDK Version

Description

The list of methods to do SDK Version are organized into topic(s).

Method

intgetAndroidSDKVersion()
get Android SDK Version
return android.os.Build.VERSION.SDK_INT;
booleanisMinimumSdkLevel(int minimumSdkLevel)
Returns whether the SDK version is the given level or higher.
return Build.VERSION.SDK_INT >= minimumSdkLevel;