MetLevelEvent class
An event of type MovisensBluetoothCharacteristics.metLevel
Number of seconds the users MET value was at one of the MET levels (sedentary, light, moderate, vigorous).
Read more at: https://docs.movisens.com/Algorithms/energy_expenditure/#metabolic-equivalent-of-task-met
- Inheritance
-
- Object
- MovisensEvent
- MetLevelEvent
Constructors
-
MetLevelEvent({required List<
int> bytes, required String deviceId})
Properties
- 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
- light → int
-
Number of seconds the users MET value was at the MET level light.
Measured in seconds.
no setter
- moderate → int
-
Number of seconds the users MET value was at the MET level moderate.
Measured in seconds.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sedentary → int
-
Number of seconds the users MET value was at the MET level sedentary.
Measured in seconds.
no setter
- 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
- vigorous → int
-
Number of seconds the users MET value was at the MET level vigorous.
Measured in seconds.
no setter
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