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. |
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.true
if and only if the current platform is Androidpublic static int getAndroidApiVersion()
ANDROID_API_VERSION_IS_NOT_ANDROID
if version
can not be resolved or if current platform is not Android.Copyright © 2017. All rights reserved.