Class AndroidUtils (1.42.3)

public class AndroidUtils

Beta
Utilities for Android.

Inheritance

java.lang.Object > AndroidUtils

Static Methods

checkMinimumSdkLevel(int minimumSdkLevel)

public static void checkMinimumSdkLevel(int minimumSdkLevel)

Throws an IllegalArgumentException if #isMinimumSdkLevel(int) is false on the given level. See Also: android.os.Build.VERSION_CODES

Parameter
NameDescription
minimumSdkLevelint

isMinimumSdkLevel(int minimumSdkLevel)

public static boolean isMinimumSdkLevel(int minimumSdkLevel)

Returns whether the SDK version is the given level or higher. See Also: android.os.Build.VERSION_CODES

Parameter
NameDescription
minimumSdkLevelint
Returns
TypeDescription
boolean