listenToConnectionState abstract method
- String deviceId
Listens to the connection state of the BLE device with the given deviceId
.
Returns a stream of BleDeviceConnectionState indicating the connection state.
Implementation
Stream<BleDeviceConnectionState> listenToConnectionState(String deviceId);