public static enum ReadWriteFailBluetoothGatt.FailType extends java.lang.Enum<ReadWriteFailBluetoothGatt.FailType>
Enum Constant and Description |
---|
GATT_ERROR
This simulates the dreaded gatt 133 error.
|
TIME_OUT
Simulates a read/write timeout.
|
Modifier and Type | Method and Description |
---|---|
static ReadWriteFailBluetoothGatt.FailType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadWriteFailBluetoothGatt.FailType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadWriteFailBluetoothGatt.FailType GATT_ERROR
public static final ReadWriteFailBluetoothGatt.FailType TIME_OUT
public static ReadWriteFailBluetoothGatt.FailType[] values()
for (ReadWriteFailBluetoothGatt.FailType c : ReadWriteFailBluetoothGatt.FailType.values()) System.out.println(c);
public static ReadWriteFailBluetoothGatt.FailType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null