BatteryService class

A Movisens service containing Battery data.

Included characteristics:

Inheritance

Constructors

BatteryService({required BluetoothService service, BluetoothService? secondaryService})
A Movisens service containing Battery data.

Properties

batteryLevelEvents Stream<BatteryLevelEvent>?
Stream of BatteryLevelEvents.
no setter
characteristics List<MovisensBluetoothCharacteristics>
The list of Bluetooth characteristics for this service.
getter/setter pairoverride
chargingEvents Stream<ChargingEvent>?
Stream of ChargingEvents.
no setter
events Stream<MovisensEvent>
A stream of all the MovisensEvents emitted by the characteristics in this service.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The string representation of the service enum.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service ↔ BluetoothService
The underlying BluetoothService for this service.
getter/setter pairinherited
uuid String
UUID of this service.
getter/setter pairoverride

Methods

disableNotify() Future<void>
Disables the notifying of all bluetooth characteristic in this service.
override
enableNotify() Future<void>
Enables the notifying of every bluetooth characteristic in this service.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited