public final class PlatformDependent extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ANDROID_API_VERSION_IS_NOT_ANDROID
Possible value of
getAndroidApiVersion() which means that the current platform is not Android.
|
| Constructor and Description |
|---|
PlatformDependent()
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getAndroidApiVersion()
Returns version of Android API.
|
static boolean |
isAndroid()
Returns
true if and only if the current platform is Android.
|
public static final int ANDROID_API_VERSION_IS_NOT_ANDROID
getAndroidApiVersion() which means that the current platform is not Android.
public static boolean isAndroid()
true if and only if the current platform is Android.
public static int getAndroidApiVersion()
ANDROID_API_VERSION_IS_NOT_ANDROID if version can not be resolved or if current platform is not Android.