QAudioRoleControl Class

The QAudioRoleControl class provides control over the audio role of a media object. More...

Header: #include <QAudioRoleControl>
qmake: QT += multimedia
Since: Qt 5.6
Inherits: QMediaControl

This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This class was introduced in Qt 5.6.

Macros

Detailed Description

If a QMediaService supports audio roles it will implement QAudioRoleControl.

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

The interface name of QAudioRoleControl is org.qt-project.qt.audiorolecontrol/5.6 as defined in QAudioRoleControl_iid.

See also QMediaService::requestControl() and QMediaPlayer.

Macro Documentation

QAudioRoleControl_iid

org.qt-project.qt.audiorolecontrol/5.6

Defines the interface name of the QAudioRoleControl class.