public static interface BtleGatt.DisconnectHandler
Modifier and Type | Method and Description |
---|---|
void |
onDisconnect()
Called when the connection with the BLE device has been closed
|
void |
onUnexpectedDisconnect(int status)
Similar to
onDisconnect() except this variant handles instances where the connection
was unexpectedly dropped i.e. |
void onDisconnect()
void onUnexpectedDisconnect(int status)
onDisconnect()
except this variant handles instances where the connection
was unexpectedly dropped i.e. not initiated by the APIstatus
- Status code reported by the btle stack