tinyb
tinyb copied to clipboard
BluetoothEvent callbacks in Java
Java API currently does not implement callbacks for BluetoothEvents.
Will there be a BluetoothEvent for Device Disconnect?
There will be one for when connected status changes: https://github.com/intel-iot-devkit/tinyb/commit/415dea7504a3ee58b76bc31f3b9ec9fe2e9381d2#diff-16bcd3d48f4412f8f516008ae7530ffaR79. You'll have to register a callback which will get called when connection status changes, but it will not be implemented as a BluetoothEvent.