public static enum DeviceId.Type extends java.lang.Enum<DeviceId.Type>
Enum Constant and Description |
---|
ADVERTISING_ID |
DEVELOPER_SUPPLIED |
OPEN_UDID |
Modifier and Type | Method and Description |
---|---|
static DeviceId.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceId.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceId.Type DEVELOPER_SUPPLIED
public static final DeviceId.Type OPEN_UDID
public static final DeviceId.Type ADVERTISING_ID
public static DeviceId.Type[] values()
for (DeviceId.Type c : DeviceId.Type.values()) System.out.println(c);
public static DeviceId.Type 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 null