![]() |
Home · All Classes · All Functions · | ![]() |
The QMediaRecorderControl class provides access to the recording functionality of a QMediaService. More...
#include <QMediaRecorderControl>
This class is under development and is subject to change.
Inherits QMediaControl.
virtual | ~QMediaRecorderControl () |
virtual void | applySettings () = 0 |
virtual qint64 | duration () const = 0 |
virtual QUrl | outputLocation () const = 0 |
virtual bool | setOutputLocation ( const QUrl & location ) = 0 |
virtual QMediaRecorder::State | state () const = 0 |
virtual void | pause () = 0 |
virtual void | record () = 0 |
virtual void | stop () = 0 |
void | durationChanged ( qint64 duration ) |
void | error ( int error, const QString & errorString ) |
void | stateChanged ( QMediaRecorder::State state ) |
QMediaRecorderControl ( QObject * parent = 0 ) |
QMediaRecorderControl_iid |
The QMediaRecorderControl class provides access to the recording functionality of a QMediaService.
If a QMediaService can record media it will implement QMediaRecorderControl. This control provides a means to set the output location, and start, pause and stop recording. It also provides feedback on the duration of the recording.
The functionality provided by this control is exposed to application code through the QMediaRecorder class.
The interface name of QMediaRecorderControl is com.nokia.Qt.QMediaRecorderControl/1.0 as defined in QMediaRecorderControl_iid.
See also QMediaService::control() and QMediaRecorder.
Constructs a media recorder control with the given parent.
Destroys a media recorder control.
Commits the encoder settings and performs pre-initialization to reduce delays when recording is started.
Return the current duration in milliseconds.
Signals that the duration of the recorded media has changed.
This only emitted when there is a discontinuous change in the duration such as being reset to 0.
Signals that an error has occurred. The errorString describes the error.
Returns the current output location being used.
See also setOutputLocation().
Pause recording.
Start recording.
Sets the output location and returns if this operation is successful.
See also outputLocation().
Return the current recording state.
Signals that the state of a media recorder has changed.
Stop recording.
com.nokia.Qt.QMediaRecorderControl/1.0
Defines the interface name of the QMediaRecorderControl class.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 |