Enum Constant and Description |
---|
AD_TRACKING_ENABLED
Google Advertising ID's limit ad-tracking field.
|
ANDROID_VERSION
The current reported android version.
|
CARRIER
The mobile carrier.
|
GOOGLE_ADVERTISING_ID
The Google Advertising ID.
|
IS_BACKGROUND_RESTRICTED
Whether background restrictions exist on the app.
|
LOCALE
The default locale of the device.
|
MODEL
The specific hardware of the device.
|
NOTIFICATIONS_ENABLED
Whether this app has notifications enabled.
|
RESOLUTION
Device resolution as "
|
TIMEZONE
The device time zone.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
static DeviceKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceKey ANDROID_VERSION
public static final DeviceKey CARRIER
public static final DeviceKey MODEL
public static final DeviceKey RESOLUTION
public static final DeviceKey LOCALE
public static final DeviceKey TIMEZONE
public static final DeviceKey NOTIFICATIONS_ENABLED
public static final DeviceKey IS_BACKGROUND_RESTRICTED
ActivityManager.isBackgroundRestricted()
public static final DeviceKey GOOGLE_ADVERTISING_ID
IAppboy.setGoogleAdvertisingId(String, boolean)
public static final DeviceKey AD_TRACKING_ENABLED
public static DeviceKey[] values()
for (DeviceKey c : DeviceKey.values()) System.out.println(c);
public static DeviceKey valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()