MonitoringMessage class

Inheritance

Constructors

MonitoringMessage({dynamic definitionMessage, dynamic developerFields, int localId = 0, Endian endian = Endian.little})

Properties

activeCalories int?
Returns the value of the activeCalories field. Returns null if the field is not defined in the message.
getter/setter pair
activeTime double?
Returns the value of the activeTime field. Returns null if the field is not defined in the message.
getter/setter pair
activeTime16 int?
Returns the value of the activeTime16 field. Returns null if the field is not defined in the message.
getter/setter pair
activityLevel ActivityLevel?
Returns the value of the activityLevel field. Returns null if the field is not defined in the message.
getter/setter pair
activitySubtype ActivitySubtype?
Returns the value of the activitySubtype field. Returns null if the field is not defined in the message.
getter/setter pair
activityTime List<int>?
Returns the value of the activityTime field. Returns null if the field is not defined in the message.
getter/setter pair
activityType ActivityType?
Returns the value of the activityType field. Returns null if the field is not defined in the message.
getter/setter pair
ascent double?
Returns the value of the ascent field. Returns null if the field is not defined in the message.
getter/setter pair
calories int?
Returns the value of the calories field. Returns null if the field is not defined in the message.
getter/setter pair
currentActivityTypeIntensity int?
Returns the value of the currentActivityTypeIntensity field. Returns null if the field is not defined in the message.
getter/setter pair
cycles double?
Returns the value of the cycles field. Returns null if the field is not defined in the message.
getter/setter pair
cycles16 int?
Returns the value of the cycles16 field. Returns null if the field is not defined in the message.
getter/setter pair
definitionMessage DefinitionMessage?
getter/setter pairinherited
descent double?
Returns the value of the descent field. Returns null if the field is not defined in the message.
getter/setter pair
developerFields List<DeveloperField>
finalinherited
deviceIndex int?
Returns the value of the deviceIndex field. Returns null if the field is not defined in the message.
getter/setter pair
distance double?
Returns the value of the distance field. Returns null if the field is not defined in the message.
getter/setter pair
distance16 int?
Returns the value of the distance16 field. Returns null if the field is not defined in the message.
getter/setter pair
duration int?
Returns the value of the duration field. Returns null if the field is not defined in the message.
getter/setter pair
durationMin int?
Returns the value of the durationMin field. Returns null if the field is not defined in the message.
getter/setter pair
endian Endian
finalinherited
fields List<Field>
finalinherited
globalId int
finalinherited
growable bool
final
hashCode int
The hash code for this object.
no setterinherited
heartRate int?
Returns the value of the heartRate field. Returns null if the field is not defined in the message.
getter/setter pair
intensity double?
Returns the value of the intensity field. Returns null if the field is not defined in the message.
getter/setter pair
localId int
getter/setter pairinherited
localTimestamp int?
Returns the value of the localTimestamp field. Returns null if the field is not defined in the message.
getter/setter pair
moderateActivityMinutes int?
Returns the value of the moderateActivityMinutes field. Returns null if the field is not defined in the message.
getter/setter pair
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pairinherited
steps int?
Get the value of the subfield steps
getter/setter pair
strokes double?
Get the value of the subfield strokes
getter/setter pair
temperature double?
Returns the value of the temperature field. Returns null if the field is not defined in the message.
getter/setter pair
temperatureMax double?
Returns the value of the temperatureMax field. Returns null if the field is not defined in the message.
getter/setter pair
temperatureMin double?
Returns the value of the temperatureMin field. Returns null if the field is not defined in the message.
getter/setter pair
timestamp int?
Returns the value of the timestamp field in milliseconds since January 1st, 1970 at 00:00:00 UTC
getter/setter pair
timestamp16 int?
Returns the value of the timestamp16 field. Returns null if the field is not defined in the message.
getter/setter pair
timestampMin8 int?
Returns the value of the timestampMin8 field. Returns null if the field is not defined in the message.
getter/setter pair
vigorousActivityMinutes int?
Returns the value of the vigorousActivityMinutes field. Returns null if the field is not defined in the message.
getter/setter pair

Methods

clearDeveloperFieldById(int developerDataIndex, int id) → void
inherited
clearFieldById(int id) → void
inherited
getDeveloperField(int developerDataIndex, int id) DeveloperField?
inherited
getDeveloperFieldByName(String name) DeveloperField?
inherited
getField(int id) Field?
inherited
getFieldByName(String name) Field?
inherited
hasDeveloperFields() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFromBytes(Uint8List bytes) → void
inherited
removeDeveloperField(int developerDataIndex, int id) → void
inherited
removeField(int id) → void
inherited
setDefinitionMessage(DefinitionMessage definition) → void
inherited
toBytes() Uint8List
inherited
toRow() List
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromBytes(DefinitionMessage definitionMessage, Uint8List bytes) MonitoringMessage
Returns an instance of MonitoringMessage from a bytes list.
override

Constants

ID → const int
The Global ID of the message. In the FIT documentation this is referred to as the "Global Message Number".
NAME → const String