MonitoringInfoMessage class
- Inheritance
-
- Object
- Message
- DataMessage
- MonitoringInfoMessage
Constructors
- MonitoringInfoMessage({dynamic definitionMessage, dynamic developerFields, int localId = 0, Endian endian = Endian.little})
Properties
-
activityType
↔ List<
ActivityType> ? -
Returns the value of the activityType field. Returns null if the field is not defined in the message.
getter/setter pair
-
cyclesToCalories
↔ List<
double> ? -
Returns the value of the cyclesToCalories field. Returns null if the field is not defined in the message.
getter/setter pair
-
cyclesToDistance
↔ List<
double> ? -
Returns the value of the cyclesToDistance field. Returns null if the field is not defined in the message.
getter/setter pair
- definitionMessage ↔ DefinitionMessage?
-
getter/setter pairinherited
-
developerFields
→ List<
DeveloperField> -
finalinherited
- endian → Endian
-
finalinherited
-
fields
→ List<
Field> -
finalinherited
- globalId → int
-
finalinherited
- growable → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- name → String
-
finalinherited
- restingMetabolicRate ↔ int?
-
Returns the value of the restingMetabolicRate 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
- size ↔ int
-
getter/setter pairinherited
- 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) → MonitoringInfoMessage -
Returns an instance of MonitoringInfoMessage from a bytes list.
override