public enum Code extends Enum<Code>
| Enum Constant and Description |
|---|
DEVICE_ID
Device identifier.
|
DEVICE_NAME
Device's name.
|
DEVICE_VERSION
Device's version.
|
PLATFORM_ID
platform identifier.
|
SYSTEM_ID
System(OS) identifier.
|
SYSTEM_MILLIS
Current time in milliseconds since 1970.
|
SYSTEM_NAME
System(OS) name.
|
SYSTEM_VERSION
System(OS) version.
|
USER_COUNTRY
User country/region name in en-US.
|
USER_COUNTRY2
2-letter uppercase country/region code.
|
USER_COUNTRY3
3-letter uppercase country/region code.
|
USER_LANGUAGE
User language name in en-US.
|
USER_LANGUAGE2
2-letter lowercase language code.
|
USER_LANGUAGE3
3-letter lowercase language code.
|
| Modifier and Type | Method and Description |
|---|---|
static Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Code USER_COUNTRY3
public static final Code USER_COUNTRY2
public static final Code USER_COUNTRY
public static final Code USER_LANGUAGE3
public static final Code USER_LANGUAGE2
public static final Code USER_LANGUAGE
public static final Code SYSTEM_MILLIS
public static final Code SYSTEM_VERSION
public static final Code SYSTEM_NAME
public static final Code SYSTEM_ID
PLATFORM_ID.public static final Code DEVICE_VERSION
public static final Code DEVICE_NAME
public static final Code DEVICE_ID
PLATFORM_ID.public static final Code PLATFORM_ID
public static Code[] values()
for (Code c : Code.values()) System.out.println(c);
public static Code valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2011-2012. All Rights Reserved.