public enum PhonePosition extends Enum<PhonePosition> implements ZendriveValueEnum
Enum Constant and Description |
---|
MOUNT
The device was in a mounted position for most of the drive.
|
UNKNOWN
No definitive value available
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static PhonePosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhonePosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhonePosition UNKNOWN
public static final PhonePosition MOUNT
public static PhonePosition[] values()
for (PhonePosition c : PhonePosition.values()) System.out.println(c);
public static PhonePosition 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 int getValue()
ZendriveValueEnum
The value is consistent with the enum values returned by the iOS SDK.
getValue
in interface ZendriveValueEnum