LightEvent class

An event of type MovisensBluetoothCharacteristics.light.

Contains information about the ambient light. clear and ir values for ambient light TODO: Movisens missing documentation - request it

Inheritance

Constructors

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

Properties

clear int
The clear value of the light
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
ir int
The ir value of the light
no setter
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