DeviceInfoMessage class

Inheritance

Constructors

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

Properties

antDeviceNumber int?
Returns the value of the antDeviceNumber field. Returns null if the field is not defined in the message.
getter/setter pair
antDeviceType int?
Get the value of the subfield antDeviceType
getter/setter pair
antNetwork AntNetwork?
Returns the value of the antNetwork field. Returns null if the field is not defined in the message.
getter/setter pair
antplusDeviceType int?
Get the value of the subfield antplusDeviceType
getter/setter pair
antTransmissionType int?
Returns the value of the antTransmissionType field. Returns null if the field is not defined in the message.
getter/setter pair
batteryStatus int?
Returns the value of the batteryStatus field. Returns null if the field is not defined in the message.
getter/setter pair
batteryVoltage double?
Returns the value of the batteryVoltage field. Returns null if the field is not defined in the message.
getter/setter pair
cumOperatingTime int?
Returns the value of the cumOperatingTime field. Returns null if the field is not defined in the message.
getter/setter pair
definitionMessage DefinitionMessage?
getter/setter pairinherited
descriptor String?
Returns the value of the descriptor 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
deviceType int?
Returns the value of the deviceType field. Returns null if the field is not defined in the message.
getter/setter pair
endian Endian
finalinherited
faveroProduct int?
Get the value of the subfield faveroProduct
getter/setter pair
fields List<Field>
finalinherited
garminProduct int?
Get the value of the subfield garminProduct
getter/setter pair
globalId int
finalinherited
growable bool
final
hardwareVersion int?
Returns the value of the hardwareVersion field. Returns null if the field is not defined in the message.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
localId int
getter/setter pairinherited
manufacturer int?
Returns the value of the manufacturer field. Returns null if the field is not defined in the message.
getter/setter pair
name String
finalinherited
product int?
Returns the value of the product field. Returns null if the field is not defined in the message.
getter/setter pair
productName String?
Returns the value of the productName field. Returns null if the field is not defined in the message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensorPosition BodyLocation?
Returns the value of the sensorPosition field. Returns null if the field is not defined in the message.
getter/setter pair
serialNumber int?
Returns the value of the serialNumber field. Returns null if the field is not defined in the message.
getter/setter pair
size int
getter/setter pairinherited
softwareVersion double?
Returns the value of the softwareVersion field. Returns null if the field is not defined in the message.
getter/setter pair
sourceType SourceType?
Returns the value of the sourceType 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

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) DeviceInfoMessage
Returns an instance of DeviceInfoMessage 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