public abstract static class MetaWearBoard.ConnectionStateHandler
extends java.lang.Object
Constructor and Description |
---|
MetaWearBoard.ConnectionStateHandler() |
Modifier and Type | Method and Description |
---|---|
void |
connected()
Called when a Bluetooth LE connection is successfully established
|
void |
disconnected()
Called when the Bluetooth LE connection is lost
|
void |
failure(int status,
java.lang.Throwable error)
Called if a connection attempt failed
|
public MetaWearBoard.ConnectionStateHandler()
public void connected()
public void disconnected()
public void failure(int status, java.lang.Throwable error)
status
- Status code reported by one of the BluetoothGattCallback methodserror
- Error thrown by one of the BluetoothGattCallback methods