EventMessage class

Inheritance

Constructors

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

Properties

batteryLevel double?
Get the value of the subfield batteryLevel
getter/setter pair
cadHighAlert int?
Get the value of the subfield cadHighAlert
getter/setter pair
cadLowAlert int?
Get the value of the subfield cadLowAlert
getter/setter pair
calorieDurationAlert int?
Get the value of the subfield calorieDurationAlert
getter/setter pair
commTimeout int?
Get the value of the subfield commTimeout
getter/setter pair
coursePointIndex int?
Get the value of the subfield coursePointIndex
getter/setter pair
data int?
Returns the value of the data field. Returns null if the field is not defined in the message.
getter/setter pair
data16 int?
Returns the value of the data16 field. Returns null if the field is not defined in the message.
getter/setter pair
definitionMessage DefinitionMessage?
getter/setter pairinherited
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
distanceDurationAlert double?
Get the value of the subfield distanceDurationAlert
getter/setter pair
endian Endian
finalinherited
event Event?
Returns the value of the event field. Returns null if the field is not defined in the message.
getter/setter pair
eventGroup int?
Returns the value of the eventGroup field. Returns null if the field is not defined in the message.
getter/setter pair
eventType EventType?
Returns the value of the eventType field. Returns null if the field is not defined in the message.
getter/setter pair
fields List<Field>
finalinherited
fitnessEquipmentState FitnessEquipmentState?
Get the value of the subfield fitnessEquipmentState
getter/setter pair
frontGear int?
Returns the value of the frontGear field. Returns null if the field is not defined in the message.
getter/setter pair
frontGearNum int?
Returns the value of the frontGearNum field. Returns null if the field is not defined in the message.
getter/setter pair
gearChangeData int?
Get the value of the subfield gearChangeData
getter/setter pair
globalId int
finalinherited
growable bool
final
hashCode int
The hash code for this object.
no setterinherited
hrHighAlert int?
Get the value of the subfield hrHighAlert
getter/setter pair
hrLowAlert int?
Get the value of the subfield hrLowAlert
getter/setter pair
localId int
getter/setter pairinherited
name String
finalinherited
opponentScore int?
Returns the value of the opponentScore field. Returns null if the field is not defined in the message.
getter/setter pair
powerHighAlert int?
Get the value of the subfield powerHighAlert
getter/setter pair
powerLowAlert int?
Get the value of the subfield powerLowAlert
getter/setter pair
radarThreatAlert int?
Get the value of the subfield radarThreatAlert
getter/setter pair
radarThreatCount int?
Returns the value of the radarThreatCount field. Returns null if the field is not defined in the message.
getter/setter pair
radarThreatLevelMax RadarThreatLevelType?
Returns the value of the radarThreatLevelMax field. Returns null if the field is not defined in the message.
getter/setter pair
rearGear int?
Returns the value of the rearGear field. Returns null if the field is not defined in the message.
getter/setter pair
rearGearNum int?
Returns the value of the rearGearNum field. Returns null if the field is not defined in the message.
getter/setter pair
riderPosition RiderPositionType?
Get the value of the subfield riderPosition
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int?
Returns the value of the score field. Returns null if the field is not defined in the message.
getter/setter pair
size int
getter/setter pairinherited
speedHighAlert double?
Get the value of the subfield speedHighAlert
getter/setter pair
speedLowAlert double?
Get the value of the subfield speedLowAlert
getter/setter pair
sportPoint int?
Get the value of the subfield sportPoint
getter/setter pair
timeDurationAlert double?
Get the value of the subfield timeDurationAlert
getter/setter pair
timerTrigger TimerTrigger?
Get the value of the subfield timerTrigger
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
virtualPartnerSpeed double?
Get the value of the subfield virtualPartnerSpeed
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) EventMessage
Returns an instance of EventMessage 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