subscribeToBatteryStatusStream abstract method

Future<Stream<BatteryLevelStatus>> subscribeToBatteryStatusStream(
  1. String deviceId
)

Subscribes to the battery status stream from the BLE device with the given deviceId.

Returns a stream of BatteryLevelStatus updates.

Implementation

Future<Stream<BatteryLevelStatus>> subscribeToBatteryStatusStream(
    String deviceId);