public enum MobileDeviceDeviceType extends Enum<MobileDeviceDeviceType>
Java class for MobileDevice.DeviceType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MobileDevice.DeviceType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DEVICE_TYPE_MOBILE"/>
<enumeration value="DEVICE_TYPE_TABLET"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DEVICE_TYPE_MOBILE |
DEVICE_TYPE_TABLET |
| Modifier and Type | Method and Description |
|---|---|
static MobileDeviceDeviceType |
fromValue(String v) |
String |
value() |
static MobileDeviceDeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MobileDeviceDeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MobileDeviceDeviceType DEVICE_TYPE_MOBILE
public static final MobileDeviceDeviceType DEVICE_TYPE_TABLET
public static MobileDeviceDeviceType[] values()
for (MobileDeviceDeviceType c : MobileDeviceDeviceType.values()) System.out.println(c);
public static MobileDeviceDeviceType 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 String value()
public static MobileDeviceDeviceType fromValue(String v)
Copyright © 2023. All rights reserved.