BatteryLevelEvent class

An event of type MovisensBluetoothCharacteristics.batteryLevel

A measurement of the device battery level in percent.

Inheritance

Constructors

BatteryLevelEvent({required List<int> bytes, required String deviceId})

Properties

batteryLevel int
Get battery level in percent.
no setter
deviceId String
The ID of the device which emitted this event. Uses a MAC address format on Android. Uses a UUID format on iOS. (This is generated and unique to the connection between this exact device AND this exact iPhone)
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time DateTime
The time this event happened.
no setterinherited
type MovisensBluetoothCharacteristics
The type of characteristic which emitted this event as enum MovisensBluetoothCharacteristics.
getter/setter pairoverride
uuid String
Get the UUID of this type.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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