Class AndroidUtils (1.44.2)

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
Name Description
minimumSdkLevel int

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
Name Description
minimumSdkLevel int
Returns
Type Description
boolean