The MonitoringInfoMessage class represents a FIT MonitoringInfoMessage data message.
More...
|
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
|
|
The MonitoringInfoMessage class represents a FIT MonitoringInfoMessage data message.
- See also
- DataMessage
◆ MonitoringInfoMessage()
MonitoringInfoMessage::MonitoringInfoMessage |
( |
| ) |
|
◆ activityType()
Returns the MonitoringInfoMessage data message's activityType
field's current value.
- Returns
- the
activityType
field value.
◆ cyclesToCalories()
quint16 MonitoringInfoMessage::cyclesToCalories |
( |
| ) |
const |
Returns the MonitoringInfoMessage data message's cyclesToCalories
field's current value.
Indexed by activity_type
- Returns
- the
cyclesToCalories
field value.
◆ cyclesToDistance()
quint16 MonitoringInfoMessage::cyclesToDistance |
( |
| ) |
const |
Returns the MonitoringInfoMessage data message's cyclesToDistance
field's current value.
Indexed by activity_type
- Returns
- the
cyclesToDistance
field value.
◆ localTimestamp()
Returns the MonitoringInfoMessage data message's localTimestamp
field's current value.
Use to convert activity timestamps to local time if device does not support time zone and daylight savings time correction.
- Returns
- the
localTimestamp
field value.
◆ restingMetabolicRate()
quint16 MonitoringInfoMessage::restingMetabolicRate |
( |
| ) |
const |
Returns the MonitoringInfoMessage data message's restingMetabolicRate
field's current value.
- Returns
- the
restingMetabolicRate
field value.
◆ setActivityType()
void MonitoringInfoMessage::setActivityType |
( |
const ActivityType |
activityType | ) |
|
Sets the activityType
field to activityType.
- Parameters
-
activityType | The field value to set. |
◆ setCyclesToCalories()
void MonitoringInfoMessage::setCyclesToCalories |
( |
const quint16 |
cyclesToCalories | ) |
|
Sets the cyclesToCalories
field to cyclesToCalories.
- Parameters
-
cyclesToCalories | The field value to set. |
◆ setCyclesToDistance()
void MonitoringInfoMessage::setCyclesToDistance |
( |
const quint16 |
cyclesToDistance | ) |
|
Sets the cyclesToDistance
field to cyclesToDistance.
- Parameters
-
cyclesToDistance | The field value to set. |
◆ setLocalTimestamp()
void MonitoringInfoMessage::setLocalTimestamp |
( |
const LocalDateTime |
localTimestamp | ) |
|
Sets the localTimestamp
field to localTimestamp.
- Parameters
-
localTimestamp | The field value to set. |
◆ setRestingMetabolicRate()
void MonitoringInfoMessage::setRestingMetabolicRate |
( |
const quint16 |
restingMetabolicRate | ) |
|
Sets the restingMetabolicRate
field to restingMetabolicRate.
- Parameters
-
restingMetabolicRate | The field value to set. |
◆ setTimestamp()
void MonitoringInfoMessage::setTimestamp |
( |
const DateTime |
timestamp | ) |
|
Sets the timestamp
field to timestamp.
- Parameters
-
timestamp | The field value to set. |
◆ timestamp()
DateTime MonitoringInfoMessage::timestamp |
( |
| ) |
const |
Returns the MonitoringInfoMessage data message's timestamp
field's current value.
- Returns
- the
timestamp
field value.
The documentation for this class was generated from the following files: