QMediaStreamsControl Class ReferenceThe QMediaStreamsControl class provides a media stream selection control. More... #include <QMediaStreamsControl> This class is under development and is subject to change. Inherits QMediaControl. Public Types
Public Functions
Signals
Protected Functions
Macros
Additional Inherited Members
Detailed DescriptionThe QMediaStreamsControl class provides a media stream selection control. The QMediaStreamsControl class provides descriptions of the available media streams and allows individual streams to be activated and deactivated. The interface name of QMediaStreamsControl is com.nokia.Qt.MediaStreamsControl as defined in QMediaStreamsControl_iid. See also QMediaService::requestControl(). Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QMediaStreamsControl::AudioStream | 2 | Audio stream. |
QMediaStreamsControl::VideoStream | 1 | Video stream. |
QMediaStreamsControl::SubPictureStream | 3 | Subpicture or teletext stream. |
QMediaStreamsControl::UnknownStream | 0 | The stream type is unknown. |
QMediaStreamsControl::DataStream | 4 |
Constructs a new media streams control with the given parent.
Destroys a media streams control.
The signal is emitted when the active streams list is changed.
Returns true if the media stream is active.
Returns the meta-data value of key for a given stream.
Useful metadata keya are QtMultimediaKit::Title, QtMultimediaKit::Description and QtMultimediaKit::Language.
Sets the active state of a media stream.
Setting the active state of a media stream to true will activate it. If any other stream of the same type was previously active it will be deactivated. Setting the active state fo a media stream to false will deactivate it.
See also isActive().
Returns the number of media streams.
Return the type of a media stream.
The signal is emitted when the available streams list is changed.
com.nokia.Qt.MediaStreamsControl
Defines the interface name of the QMediaStreamsControl class.
© 2008-2010 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy