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