QtFit
0.1
Native Qt library for Garmin FIT format
|
The VideoMessage class represents a FIT VideoMessage data message. More...
Public Member Functions | |
VideoMessage () | |
Constructs a VideoMessage object. More... | |
QString | url () const |
Returns the VideoMessage data message's url field's current value. More... | |
QString | hostingProvider () const |
Returns the VideoMessage data message's hostingProvider field's current value. More... | |
quint32 | duration () const |
Returns the VideoMessage data message's duration field's current value. More... | |
void | setUrl (const QString url) |
Sets the url field to url. More... | |
void | setHostingProvider (const QString hostingProvider) |
Sets the hostingProvider field to hostingProvider. More... | |
void | setDuration (const quint32 duration) |
Sets the duration field to duration. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Additional Inherited Members | |
![]() | |
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
The VideoMessage class represents a FIT VideoMessage data message.
VideoMessage::VideoMessage | ( | ) |
Constructs a VideoMessage object.
Typically, instances of this class will be returned by FitStreamReader::readNext, but this constructor may be used, along with the relevant setter methods, to create a valid message.
quint32 VideoMessage::duration | ( | ) | const |
Returns the VideoMessage data message's duration
field's current value.
Playback time of video
duration
field value. QString VideoMessage::hostingProvider | ( | ) | const |
Returns the VideoMessage data message's hostingProvider
field's current value.
hostingProvider
field value. void VideoMessage::setDuration | ( | const quint32 | duration | ) |
Sets the duration
field to duration.
duration | The field value to set. |
void VideoMessage::setHostingProvider | ( | const QString | hostingProvider | ) |
Sets the hostingProvider
field to hostingProvider.
hostingProvider | The field value to set. |
void VideoMessage::setUrl | ( | const QString | url | ) |
Sets the url
field to url.
url | The field value to set. |
QString VideoMessage::url | ( | ) | const |
Returns the VideoMessage data message's url
field's current value.
url
field value.