![]() |
Home · All Classes · All Functions · | ![]() |
The QMediaFormatControl class provides access to the output format of a QMediaService More...
#include <QMediaFormatControl>
This class is under development and is subject to change.
Inherits QMediaControl.
virtual | ~QMediaFormatControl () |
virtual QString | format () const = 0 |
virtual QString | formatDescription ( const QString & mimeType ) const = 0 |
virtual void | setFormat ( const QString & mimeType ) = 0 |
virtual QStringList | supportedFormats () const = 0 |
QMediaFormatControl ( QObject * parent = 0 ) |
QMediaFormatControl_iid |
The QMediaFormatControl class provides access to the output format of a QMediaService
If a QMediaService supports writing encoded data it will implement QMediaFormatControl. This control provides information about the output formats supported by a media service and allows one to be selected as the current output format..
The functionality provided by this control is exposed to application code through the QMediaRecorder class.
The interface name of QMediaFormatControl is com.nokia.Qt.QMediaFormatControl/1.0 as defined in QMediaFormatControl_iid.
See also QMediaService::control() and QMediaRecorder.
Constructs a new media format control with the given parent.
Destroys a media format control.
Returns the MIME type of the selected format.
See also setFormat().
Returns a description of the format identified by the given mimeType.
Sets the current format to the format identified by the given mimeType.
See also format().
Returns a list of MIME types of supported formats.
com.nokia.Qt.QMediaFormatControl/1.0
Defines the interface name of the QMediaFormatControl class.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 (Technical Preview) |