QtFit  0.1
Native Qt library for Garmin FIT format
All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
VideoMessage Class Reference

The VideoMessage class represents a FIT VideoMessage data message. More...

Inheritance diagram for VideoMessage:
[legend]
Collaboration diagram for VideoMessage:
[legend]

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...
 
- Public Member Functions inherited from AbstractDataMessage
 ~AbstractDataMessage ()
 Destroys the AbstractDataMessage object.
 
MesgNum globalMessageNumber () const
 Returns the data message's global message number. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractDataMessage
static AbstractDataMessagefromData (const DataDefinition *const defn, const QByteArray &record)
 Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
 

Detailed Description

The VideoMessage class represents a FIT VideoMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ VideoMessage()

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.

Member Function Documentation

◆ duration()

quint32 VideoMessage::duration ( ) const

Returns the VideoMessage data message's duration field's current value.

Playback time of video

Returns
the duration field value.
Here is the caller graph for this function:

◆ hostingProvider()

QString VideoMessage::hostingProvider ( ) const

Returns the VideoMessage data message's hostingProvider field's current value.

Returns
the hostingProvider field value.
Here is the caller graph for this function:

◆ setDuration()

void VideoMessage::setDuration ( const quint32  duration)

Sets the duration field to duration.

Parameters
durationThe field value to set.
Here is the call graph for this function:

◆ setHostingProvider()

void VideoMessage::setHostingProvider ( const QString  hostingProvider)

Sets the hostingProvider field to hostingProvider.

Parameters
hostingProviderThe field value to set.
Here is the call graph for this function:

◆ setUrl()

void VideoMessage::setUrl ( const QString  url)

Sets the url field to url.

Parameters
urlThe field value to set.
Here is the call graph for this function:

◆ url()

QString VideoMessage::url ( ) const

Returns the VideoMessage data message's url field's current value.

Returns
the url field value.
Here is the caller graph for this function:

The documentation for this class was generated from the following files: