public enum Code extends Enum<Code>
| Enum Constant and Description |
|---|
DEVICE_ID
See
CodeKeys.DEVICE_ID. |
DEVICE_NAME
See
CodeKeys.DEVICE_NAME. |
DEVICE_VERSION
|
PLATFORM_ID
See
CodeKeys.PLATFORM_ID. |
REQUEST_NONCE
|
REQUEST_TIMESTAMP
|
SYSTEM_ID
See
CodeKeys.SYSTEM_ID. |
SYSTEM_NAME
See
CodeKeys.SYSTEM_NAME. |
SYSTEM_VERSION
|
USER_COUNTRY
|
USER_COUNTRY2
|
USER_COUNTRY3
|
USER_LANGUAGE
|
USER_LANGUAGE2
|
USER_LANGUAGE3
|
USER_PASSWORD
|
USER_USERNAME
|
| Modifier and Type | Method and Description |
|---|---|
static Code |
fromKey(String key)
Finds the value whose key matches to given
key. |
String |
key()
Returns key.
|
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 REQUEST_NONCE
public static final Code REQUEST_TIMESTAMP
public static final Code USER_PASSWORD
public static final Code USER_USERNAME
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_VERSION
public static final Code SYSTEM_NAME
CodeKeys.SYSTEM_NAME.public static final Code SYSTEM_ID
CodeKeys.SYSTEM_ID.public static final Code DEVICE_VERSION
public static final Code DEVICE_NAME
CodeKeys.DEVICE_NAME.public static final Code DEVICE_ID
CodeKeys.DEVICE_ID.public static final Code PLATFORM_ID
CodeKeys.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 nullpublic static Code fromKey(String key)
key. An IllegalArgumentException will be thrown if no values
match.key - keypublic String key()
Copyright © 2011-2012. All Rights Reserved.