QMediaRecorderControl Class
The QMediaRecorderControl class provides access to the recording functionality of a QMediaService. More...
| Header: | #include <QMediaRecorderControl> |
| qmake: | QT += multimedia |
| Inherits: | QMediaControl |
Public Functions
| virtual | ~QMediaRecorderControl() |
- 30 public functions inherited from QObject
Protected Functions
| QMediaRecorderControl(QObject *parent = nullptr) |
- 9 protected functions inherited from QObject
Related Non-Members
| typedef | QObjectList |
| QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
| T | qobject_cast(QObject *object) |
| T | qobject_cast(const QObject *object) |
Macros
| QMediaRecorderControl_iid | |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO(Name, Value) | |
| Q_DISABLE_COPY(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_EMIT | |
| Q_ENUM(...) | |
| Q_ENUM_NS(...) | |
| Q_FLAG(...) | |
| Q_FLAG_NS(...) | |
| Q_GADGET | |
| Q_INTERFACES(...) | |
| Q_INVOKABLE | |
| Q_MEDIA_DECLARE_CONTROL(Class, IId) | |
| Q_NAMESPACE | |
| Q_OBJECT | |
| Q_PROPERTY(...) | |
| Q_REVISION | |
| Q_SET_OBJECT_NAME(Object) | |
| Q_SIGNAL | |
| Q_SIGNALS | |
| Q_SLOT | |
| Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 9 static public members inherited from QObject
Detailed Description
Generally you will use the QMediaRecorder class in application code - this class is mostly used when implementing a new QMediaService or if there is access to specific low level functionality not otherwise present in QMediaRecorder.
If a QMediaService can record media it will implement QMediaRecorderControl. This control provides a means to set the output location, and record, pause and stop recording via the setState() method. It also provides feedback on the duration of the recording.
The interface name of QMediaRecorderControl is org.qt-project.qt.mediarecordercontrol/5.0 as defined in QMediaRecorderControl_iid.
See also QMediaService::requestControl() and QMediaRecorder.
Member Function Documentation
[protected] QMediaRecorderControl::QMediaRecorderControl(QObject *parent = nullptr)
Constructs a media recorder control with the given parent.
[virtual] QMediaRecorderControl::~QMediaRecorderControl()
Destroys a media recorder control.
Macro Documentation
QMediaRecorderControl::QMediaRecorderControl_iid
org.qt-project.qt.mediarecordercontrol/5.0
Defines the interface name of the QMediaRecorderControl class.