public class Android
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Handler |
uiHandler |
| Constructor and Description |
|---|
Android(Handler uiHandler) |
| Modifier and Type | Method and Description |
|---|---|
Bitmap |
decodeByteArrayToBitmap(byte[] data) |
com.google.android.gms.ads.identifier.AdvertisingIdClient.Info |
getAdvertisingIdClientInfo(Context context) |
java.lang.String |
getReleaseVersion() |
static void |
initialize(Android instance) |
static Android |
instance() |
boolean |
isEmpty(java.lang.CharSequence str) |
boolean |
isUIThread()
returns whether this is the Android UI thread or not
|
boolean |
sdkVersionAtLeast(int version) |
public static Android instance()
public static void initialize(Android instance)
public boolean sdkVersionAtLeast(int version)
public java.lang.String getReleaseVersion()
public com.google.android.gms.ads.identifier.AdvertisingIdClient.Info getAdvertisingIdClientInfo(Context context)
throws java.io.IOException,
com.google.android.gms.common.GooglePlayServicesNotAvailableException,
com.google.android.gms.common.GooglePlayServicesRepairableException,
java.lang.IllegalStateException
java.io.IOExceptioncom.google.android.gms.common.GooglePlayServicesNotAvailableExceptioncom.google.android.gms.common.GooglePlayServicesRepairableExceptionjava.lang.IllegalStateExceptionpublic boolean isUIThread()
public boolean isEmpty(java.lang.CharSequence str)
public Bitmap decodeByteArrayToBitmap(byte[] data)