public static interface BleDevice.ReadWriteListener extends GenericListener_Void<BleDevice.ReadWriteListener.ReadWriteEvent>
BleDevice.read(UUID, ReadWriteListener),
BleDevice.write(UUID, byte[], ReadWriteListener), BleDevice.startPoll(UUID, Interval, ReadWriteListener),
BleDevice.enableNotify(UUID, ReadWriteListener), BleDevice.readRssi(ReadWriteListener), etc.| Modifier and Type | Interface and Description |
|---|---|
static class |
BleDevice.ReadWriteListener.ReadWriteEvent
Provides a bunch of information about a completed read, write, or notification.
|
static class |
BleDevice.ReadWriteListener.Status
A value returned to
GenericListener_Void.onEvent(Event)
by way of BleDevice.ReadWriteListener.ReadWriteEvent.status() that indicates success of the
operation or the reason for its failure. |
static class |
BleDevice.ReadWriteListener.Target
The type of GATT "object", provided by
BleDevice.ReadWriteListener.ReadWriteEvent.target(). |
static class |
BleDevice.ReadWriteListener.Type
The type of operation for a
BleDevice.ReadWriteListener.ReadWriteEvent - read, write, poll, etc. |
onEvent