public static enum ExchangeListener.Target extends java.lang.Enum<ExchangeListener.Target>
ExchangeListener.ExchangeEvent.target()
.Enum Constant and Description |
---|
CHARACTERISTIC
The
ExchangeListener.ExchangeEvent returned has to do with a BluetoothGattCharacteristic under the hood. |
DESCRIPTOR
The
ExchangeListener.ExchangeEvent returned has to do with a BluetoothGattDescriptor under the hood. |
Modifier and Type | Method and Description |
---|---|
static ExchangeListener.Target |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExchangeListener.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangeListener.Target CHARACTERISTIC
ExchangeListener.ExchangeEvent
returned has to do with a BluetoothGattCharacteristic
under the hood.public static final ExchangeListener.Target DESCRIPTOR
ExchangeListener.ExchangeEvent
returned has to do with a BluetoothGattDescriptor
under the hood.public static ExchangeListener.Target[] values()
for (ExchangeListener.Target c : ExchangeListener.Target.values()) System.out.println(c);
public static ExchangeListener.Target 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