public interface OnUpdate
Modifier and Type | Interface and Description |
---|---|
static class |
OnUpdate.STATE
All possible states that you may receive
|
Modifier and Type | Method and Description |
---|---|
void |
onReceiveDevice(BluetoothDevice device)
Context will receive all devices finded through this function.
|
void |
onReceivePacket(byte[] packet)
Context will receive all messages through this function.
|
void |
onStateChange(OnUpdate.STATE state)
Context will receive all status update through this function.
|
void onReceiveDevice(BluetoothDevice device)
device
- - is device findedvoid onReceivePacket(byte[] packet)
packet
- - is message receivedvoid onStateChange(OnUpdate.STATE state)
state
- - is status received