QtMobility Reference Documentation

QMediaContainerControl Class Reference

The QMediaContainerControl class provides access to the output container format of a QMediaService More...

 #include <QMediaContainerControl>

Inherits: QMediaControl.

This class was introduced in Qt Mobility 1.0.

Public Functions

virtual ~QMediaContainerControl ()
virtual QString containerDescription ( const QString & mimeType ) const = 0
virtual QString containerMimeType () const = 0
virtual void setContainerMimeType ( const QString & mimeType ) = 0
virtual QStringList supportedContainers () const = 0
  • 29 public functions inherited from QObject

Protected Functions

QMediaContainerControl ( QObject * parent = 0 )
  • 7 protected functions inherited from QObject

Macros

QMediaContainerControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QMediaContainerControl class provides access to the output container format of a QMediaService

If a QMediaService supports writing encoded data it will implement QMediaContainerControl. This control provides information about the output containers supported by a media service and allows one to be selected as the current output containers.

The functionality provided by this control is exposed to application code through the QMediaRecorder class.

The interface name of QMediaContainerControl is com.nokia.Qt.QMediaContainerControl/1.0 as defined in QMediaContainerControl_iid.

See also QMediaService::requestControl() and QMediaRecorder.

Member Function Documentation

QMediaContainerControl::QMediaContainerControl ( QObject * parent = 0 ) [protected]

Constructs a new media container control with the given parent.

QMediaContainerControl::~QMediaContainerControl () [virtual]

Destroys a media container control.

QString QMediaContainerControl::containerDescription ( const QString & mimeType ) const [pure virtual]

Returns a description of the container format identified by the given mimeType.

This function was introduced in Qt Mobility 1.0.

QString QMediaContainerControl::containerMimeType () const [pure virtual]

Returns the MIME type of the selected container format.

This function was introduced in Qt Mobility 1.0.

See also setContainerMimeType().

void QMediaContainerControl::setContainerMimeType ( const QString & mimeType ) [pure virtual]

Sets the current container format to the format identified by the given mimeType.

This function was introduced in Qt Mobility 1.0.

See also containerMimeType().

QStringList QMediaContainerControl::supportedContainers () const [pure virtual]

Returns a list of MIME types of supported container formats.

This function was introduced in Qt Mobility 1.0.

Macro Documentation

QMediaContainerControl_iid

com.nokia.Qt.QMediaContainerControl/1.0

Defines the interface name of the QMediaContainerControl class.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.