listenToConnectionState abstract method

Stream<BleDeviceConnectionState> listenToConnectionState(
  1. 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);