API reference - Class QMediaRecorder

Notation used in Ruby API documentation

Module: QtMultimedia

Description: Binding of QMediaRecorder

Class hierarchy: QMediaRecorder » QObject

Sub-classes: , Error, QFlags_Error, State, QFlags_State, Status, QFlags_Status

Public constructors

new QMediaRecordernew(QMediaObject ptr mediaObject,
QObject ptr parent = nullptr)
Constructor QMediaRecorder::QMediaRecorder(QMediaObject *mediaObject, QObject *parent)

Public methods

[const]QMediaRecorder ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]QUrlactualLocationMethod QUrl QMediaRecorder::actualLocation()
[signal]voidactualLocationChanged(const QUrl location)Signal declaration for QMediaRecorder::actualLocationChanged(const QUrl &location)
[const]const QMediaBindableInterface ptrasConstQMediaBindableInterfaceDelivers the base class interface QMediaBindableInterface of QMediaRecorder
[const]const QObject ptrasConstQObjectDelivers the base class interface QObject of QMediaRecorder
QMediaBindableInterface ptrasQMediaBindableInterfaceDelivers the base class interface QMediaBindableInterface of QMediaRecorder
QObject ptrasQObjectDelivers the base class interface QObject of QMediaRecorder
[const]stringaudioCodecDescription(string codecName)Method QString QMediaRecorder::audioCodecDescription(const QString &codecName)
[const]QAudioEncoderSettingsaudioSettingsMethod QAudioEncoderSettings QMediaRecorder::audioSettings()
voidaudioSettings=(const QAudioEncoderSettings audioSettings)Method void QMediaRecorder::setAudioSettings(const QAudioEncoderSettings &audioSettings)
[const]QMultimedia_AvailabilityStatusavailabilityMethod QMultimedia::AvailabilityStatus QMediaRecorder::availability()
[signal]voidavailabilityChanged_bool(bool available)Signal declaration for QMediaRecorder::availabilityChanged(bool available)
[signal]voidavailabilityChanged_status(const QMultimedia_AvailabilityStatus availability)Signal declaration for QMediaRecorder::availabilityChanged(QMultimedia::AvailabilityStatus availability)
[const]string[]availableMetaDataMethod QStringList QMediaRecorder::availableMetaData()
[const]stringcontainerDescription(string format)Method QString QMediaRecorder::containerDescription(const QString &format)
[const]stringcontainerFormatMethod QString QMediaRecorder::containerFormat()
voidcontainerFormat=(string container)Method void QMediaRecorder::setContainerFormat(const QString &container)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QMediaRecorder::destroyed(QObject *)
[const]long longdurationMethod qint64 QMediaRecorder::duration()
[signal]voiddurationChanged(long long duration)Signal declaration for QMediaRecorder::durationChanged(qint64 duration)
voidemit_actualLocationChanged(const QUrl location)Emitter for signal void QMediaRecorder::actualLocationChanged(const QUrl &location)
voidemit_availabilityChanged_bool(bool available)Emitter for signal void QMediaRecorder::availabilityChanged(bool available)
voidemit_availabilityChanged_status(const QMultimedia_AvailabilityStatus availability)Emitter for signal void QMediaRecorder::availabilityChanged(QMultimedia::AvailabilityStatus availability)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QMediaRecorder::destroyed(QObject *)
voidemit_durationChanged(long long duration)Emitter for signal void QMediaRecorder::durationChanged(qint64 duration)
voidemit_error_sig(const QMediaRecorder_Error error)Emitter for signal void QMediaRecorder::error(QMediaRecorder::Error error)
voidemit_metaDataAvailableChanged(bool available)Emitter for signal void QMediaRecorder::metaDataAvailableChanged(bool available)
voidemit_metaDataChangedEmitter for signal void QMediaRecorder::metaDataChanged()
voidemit_metaDataChanged_kv(string key,
variant value)
Emitter for signal void QMediaRecorder::metaDataChanged(const QString &key, const QVariant &value)
voidemit_metaDataWritableChanged(bool writable)Emitter for signal void QMediaRecorder::metaDataWritableChanged(bool writable)
voidemit_mutedChanged(bool muted)Emitter for signal void QMediaRecorder::mutedChanged(bool muted)
voidemit_objectNameChanged(string objectName)Emitter for signal void QMediaRecorder::objectNameChanged(const QString &objectName)
voidemit_stateChanged(const QMediaRecorder_State state)Emitter for signal void QMediaRecorder::stateChanged(QMediaRecorder::State state)
voidemit_statusChanged(const QMediaRecorder_Status status)Emitter for signal void QMediaRecorder::statusChanged(QMediaRecorder::Status status)
voidemit_volumeChanged(double volume)Emitter for signal void QMediaRecorder::volumeChanged(double volume)
[const]QMediaRecorder_ErrorerrorMethod QMediaRecorder::Error QMediaRecorder::error()
[const]stringerrorStringMethod QString QMediaRecorder::errorString()
[signal]voiderror_sig(const QMediaRecorder_Error error)Signal declaration for QMediaRecorder::error(QMediaRecorder::Error error)
boolevent(QEvent ptr event)Virtual method bool QMediaRecorder::event(QEvent *event)
booleventFilter(QObject ptr watched,
QEvent ptr event)
Virtual method bool QMediaRecorder::eventFilter(QObject *watched, QEvent *event)
[const]boolisAvailable?Method bool QMediaRecorder::isAvailable()
[const]boolisMetaDataAvailable?Method bool QMediaRecorder::isMetaDataAvailable()
[const]boolisMetaDataWritable?Method bool QMediaRecorder::isMetaDataWritable()
[const]boolisMuted?Method bool QMediaRecorder::isMuted()
[const]QMediaObject ptrmediaObjectVirtual method QMediaObject *QMediaRecorder::mediaObject()
[const]variantmetaData(string key)Method QVariant QMediaRecorder::metaData(const QString &key)
[const]boolmetaDataAvailableMethod bool QMediaRecorder::isMetaDataAvailable()
[signal]voidmetaDataAvailableChanged(bool available)Signal declaration for QMediaRecorder::metaDataAvailableChanged(bool available)
[signal]voidmetaDataChangedSignal declaration for QMediaRecorder::metaDataChanged()
[signal]voidmetaDataChanged_kv(string key,
variant value)
Signal declaration for QMediaRecorder::metaDataChanged(const QString &key, const QVariant &value)
[const]boolmetaDataWritableMethod bool QMediaRecorder::isMetaDataWritable()
[signal]voidmetaDataWritableChanged(bool writable)Signal declaration for QMediaRecorder::metaDataWritableChanged(bool writable)
[const]boolmutedMethod bool QMediaRecorder::isMuted()
voidmuted=(bool muted)Method void QMediaRecorder::setMuted(bool muted)
[signal]voidmutedChanged(bool muted)Signal declaration for QMediaRecorder::mutedChanged(bool muted)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QMediaRecorder::objectNameChanged(const QString &objectName)
[const]QUrloutputLocationMethod QUrl QMediaRecorder::outputLocation()
booloutputLocation=(const QUrl location)Method bool QMediaRecorder::setOutputLocation(const QUrl &location)
voidpauseMethod void QMediaRecorder::pause()
voidrecordMethod void QMediaRecorder::record()
voidsetAudioSettings(const QAudioEncoderSettings audioSettings)Method void QMediaRecorder::setAudioSettings(const QAudioEncoderSettings &audioSettings)
voidsetContainerFormat(string container)Method void QMediaRecorder::setContainerFormat(const QString &container)
voidsetEncodingSettings(const QAudioEncoderSettings audioSettings,
const QVideoEncoderSettings videoSettings = QVideoEncoderSettings(),
string containerMimeType = QString())
Method void QMediaRecorder::setEncodingSettings(const QAudioEncoderSettings &audioSettings, const QVideoEncoderSettings &videoSettings, const QString &containerMimeType)
voidsetMetaData(string key,
variant value)
Method void QMediaRecorder::setMetaData(const QString &key, const QVariant &value)
voidsetMuted(bool muted)Method void QMediaRecorder::setMuted(bool muted)
boolsetOutputLocation(const QUrl location)Method bool QMediaRecorder::setOutputLocation(const QUrl &location)
voidsetVideoSettings(const QVideoEncoderSettings videoSettings)Method void QMediaRecorder::setVideoSettings(const QVideoEncoderSettings &videoSettings)
voidsetVolume(double volume)Method void QMediaRecorder::setVolume(double volume)
[const]QMediaRecorder_StatestateMethod QMediaRecorder::State QMediaRecorder::state()
[signal]voidstateChanged(const QMediaRecorder_State state)Signal declaration for QMediaRecorder::stateChanged(QMediaRecorder::State state)
[const]QMediaRecorder_StatusstatusMethod QMediaRecorder::Status QMediaRecorder::status()
[signal]voidstatusChanged(const QMediaRecorder_Status status)Signal declaration for QMediaRecorder::statusChanged(QMediaRecorder::Status status)
voidstopMethod void QMediaRecorder::stop()
[const]string[]supportedAudioCodecsMethod QStringList QMediaRecorder::supportedAudioCodecs()
[const]int[]supportedAudioSampleRates(const QAudioEncoderSettings settings = QAudioEncoderSettings(),
bool ptr continuous = nullptr)
Method QList<int> QMediaRecorder::supportedAudioSampleRates(const QAudioEncoderSettings &settings, bool *continuous)
[const]string[]supportedContainersMethod QStringList QMediaRecorder::supportedContainers()
[const]double[]supportedFrameRates(const QVideoEncoderSettings settings = QVideoEncoderSettings(),
bool ptr continuous = nullptr)
Method QList<qreal> QMediaRecorder::supportedFrameRates(const QVideoEncoderSettings &settings, bool *continuous)
[const]QSize[]supportedResolutions(const QVideoEncoderSettings settings = QVideoEncoderSettings(),
bool ptr continuous = nullptr)
Method QList<QSize> QMediaRecorder::supportedResolutions(const QVideoEncoderSettings &settings, bool *continuous)
[const]string[]supportedVideoCodecsMethod QStringList QMediaRecorder::supportedVideoCodecs()
[const]stringvideoCodecDescription(string codecName)Method QString QMediaRecorder::videoCodecDescription(const QString &codecName)
[const]QVideoEncoderSettingsvideoSettingsMethod QVideoEncoderSettings QMediaRecorder::videoSettings()
voidvideoSettings=(const QVideoEncoderSettings videoSettings)Method void QMediaRecorder::setVideoSettings(const QVideoEncoderSettings &videoSettings)
[const]doublevolumeMethod double QMediaRecorder::volume()
voidvolume=(double volume)Method void QMediaRecorder::setVolume(double volume)
[signal]voidvolumeChanged(double volume)Signal declaration for QMediaRecorder::volumeChanged(double volume)

Public static methods and constants

[static,const]QMediaRecorder_StatusFinalizingStatusEnum constant QMediaRecorder::FinalizingStatus
[static,const]QMediaRecorder_ErrorFormatErrorEnum constant QMediaRecorder::FormatError
[static,const]QMediaRecorder_StatusLoadedStatusEnum constant QMediaRecorder::LoadedStatus
[static,const]QMediaRecorder_StatusLoadingStatusEnum constant QMediaRecorder::LoadingStatus
[static,const]QMediaRecorder_ErrorNoErrorEnum constant QMediaRecorder::NoError
[static,const]QMediaRecorder_ErrorOutOfSpaceErrorEnum constant QMediaRecorder::OutOfSpaceError
[static,const]QMediaRecorder_StatePausedStateEnum constant QMediaRecorder::PausedState
[static,const]QMediaRecorder_StatusPausedStatusEnum constant QMediaRecorder::PausedStatus
[static,const]QMediaRecorder_StateRecordingStateEnum constant QMediaRecorder::RecordingState
[static,const]QMediaRecorder_StatusRecordingStatusEnum constant QMediaRecorder::RecordingStatus
[static,const]QMediaRecorder_ErrorResourceErrorEnum constant QMediaRecorder::ResourceError
[static,const]QMediaRecorder_StatusStartingStatusEnum constant QMediaRecorder::StartingStatus
[static,const]QMediaRecorder_StateStoppedStateEnum constant QMediaRecorder::StoppedState
[static,const]QMediaRecorder_StatusUnavailableStatusEnum constant QMediaRecorder::UnavailableStatus
[static,const]QMediaRecorder_StatusUnloadedStatusEnum constant QMediaRecorder::UnloadedStatus
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QMediaRecorder::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QMediaRecorder::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidchildEvent(QChildEvent ptr event)Virtual method void QMediaRecorder::childEvent(QChildEvent *event)
voidcustomEvent(QEvent ptr event)Virtual method void QMediaRecorder::customEvent(QEvent *event)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QMediaRecorder::disconnectNotify(const QMetaMethod &signal)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QMediaRecorder::isSignalConnected(const QMetaMethod &signal)
[const]intreceivers(string signal)Method int QMediaRecorder::receivers(const char *signal)
[const]QObject ptrsenderMethod QObject *QMediaRecorder::sender()
[const]intsenderSignalIndexMethod int QMediaRecorder::senderSignalIndex()
boolsetMediaObject(QMediaObject ptr object)Virtual method bool QMediaRecorder::setMediaObject(QMediaObject *object)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QMediaRecorder::timerEvent(QTimerEvent *event)

Detailed description

FinalizingStatus

Signature: [static,const] QMediaRecorder_Status FinalizingStatus

Description: Enum constant QMediaRecorder::FinalizingStatus

Python specific notes:
The object exposes a readable attribute 'FinalizingStatus'. This is the getter.

FormatError

Signature: [static,const] QMediaRecorder_Error FormatError

Description: Enum constant QMediaRecorder::FormatError

Python specific notes:
The object exposes a readable attribute 'FormatError'. This is the getter.

LoadedStatus

Signature: [static,const] QMediaRecorder_Status LoadedStatus

Description: Enum constant QMediaRecorder::LoadedStatus

Python specific notes:
The object exposes a readable attribute 'LoadedStatus'. This is the getter.

LoadingStatus

Signature: [static,const] QMediaRecorder_Status LoadingStatus

Description: Enum constant QMediaRecorder::LoadingStatus

Python specific notes:
The object exposes a readable attribute 'LoadingStatus'. This is the getter.

NoError

Signature: [static,const] QMediaRecorder_Error NoError

Description: Enum constant QMediaRecorder::NoError

Python specific notes:
The object exposes a readable attribute 'NoError'. This is the getter.

OutOfSpaceError

Signature: [static,const] QMediaRecorder_Error OutOfSpaceError

Description: Enum constant QMediaRecorder::OutOfSpaceError

Python specific notes:
The object exposes a readable attribute 'OutOfSpaceError'. This is the getter.

PausedState

Signature: [static,const] QMediaRecorder_State PausedState

Description: Enum constant QMediaRecorder::PausedState

Python specific notes:
The object exposes a readable attribute 'PausedState'. This is the getter.

PausedStatus

Signature: [static,const] QMediaRecorder_Status PausedStatus

Description: Enum constant QMediaRecorder::PausedStatus

Python specific notes:
The object exposes a readable attribute 'PausedStatus'. This is the getter.

RecordingState

Signature: [static,const] QMediaRecorder_State RecordingState

Description: Enum constant QMediaRecorder::RecordingState

Python specific notes:
The object exposes a readable attribute 'RecordingState'. This is the getter.

RecordingStatus

Signature: [static,const] QMediaRecorder_Status RecordingStatus

Description: Enum constant QMediaRecorder::RecordingStatus

Python specific notes:
The object exposes a readable attribute 'RecordingStatus'. This is the getter.

ResourceError

Signature: [static,const] QMediaRecorder_Error ResourceError

Description: Enum constant QMediaRecorder::ResourceError

Python specific notes:
The object exposes a readable attribute 'ResourceError'. This is the getter.

StartingStatus

Signature: [static,const] QMediaRecorder_Status StartingStatus

Description: Enum constant QMediaRecorder::StartingStatus

Python specific notes:
The object exposes a readable attribute 'StartingStatus'. This is the getter.

StoppedState

Signature: [static,const] QMediaRecorder_State StoppedState

Description: Enum constant QMediaRecorder::StoppedState

Python specific notes:
The object exposes a readable attribute 'StoppedState'. This is the getter.

UnavailableStatus

Signature: [static,const] QMediaRecorder_Status UnavailableStatus

Description: Enum constant QMediaRecorder::UnavailableStatus

Python specific notes:
The object exposes a readable attribute 'UnavailableStatus'. This is the getter.

UnloadedStatus

Signature: [static,const] QMediaRecorder_Status UnloadedStatus

Description: Enum constant QMediaRecorder::UnloadedStatus

Python specific notes:
The object exposes a readable attribute 'UnloadedStatus'. This is the getter.

_const_cast

Signature: [const] QMediaRecorder ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

actualLocation

Signature: [const] QUrl actualLocation

Description: Method QUrl QMediaRecorder::actualLocation()

Python specific notes:
The object exposes a readable attribute 'actualLocation'. This is the getter.

actualLocationChanged

Signature: [signal] void actualLocationChanged (const QUrl location)

Description: Signal declaration for QMediaRecorder::actualLocationChanged(const QUrl &location)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'actualLocationChanged'. This is the getter.
The object exposes a writable attribute 'actualLocationChanged'. This is the setter.

asConstQMediaBindableInterface

Signature: [const] const QMediaBindableInterface ptr asConstQMediaBindableInterface

Description: Delivers the base class interface QMediaBindableInterface of QMediaRecorder

Class QMediaRecorder is derived from multiple base classes. This method delivers the QMediaBindableInterface base class aspect.

Use this version if you have a const reference.

asConstQObject

Signature: [const] const QObject ptr asConstQObject

Description: Delivers the base class interface QObject of QMediaRecorder

Class QMediaRecorder is derived from multiple base classes. This method delivers the QObject base class aspect.

Use this version if you have a const reference.

asQMediaBindableInterface

Signature: QMediaBindableInterface ptr asQMediaBindableInterface

Description: Delivers the base class interface QMediaBindableInterface of QMediaRecorder

Class QMediaRecorder is derived from multiple base classes. This method delivers the QMediaBindableInterface base class aspect.

asQObject

Signature: QObject ptr asQObject

Description: Delivers the base class interface QObject of QMediaRecorder

Class QMediaRecorder is derived from multiple base classes. This method delivers the QObject base class aspect.

audioCodecDescription

Signature: [const] string audioCodecDescription (string codecName)

Description: Method QString QMediaRecorder::audioCodecDescription(const QString &codecName)

audioSettings

Signature: [const] QAudioEncoderSettings audioSettings

Description: Method QAudioEncoderSettings QMediaRecorder::audioSettings()

Python specific notes:
The object exposes a readable attribute 'audioSettings'. This is the getter.

audioSettings=

Signature: void audioSettings= (const QAudioEncoderSettings audioSettings)

Description: Method void QMediaRecorder::setAudioSettings(const QAudioEncoderSettings &audioSettings)

Python specific notes:
The object exposes a writable attribute 'audioSettings'. This is the setter.

availability

Signature: [const] QMultimedia_AvailabilityStatus availability

Description: Method QMultimedia::AvailabilityStatus QMediaRecorder::availability()

availabilityChanged_bool

Signature: [signal] void availabilityChanged_bool (bool available)

Description: Signal declaration for QMediaRecorder::availabilityChanged(bool available)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'availabilityChanged_bool'. This is the getter.
The object exposes a writable attribute 'availabilityChanged_bool'. This is the setter.

availabilityChanged_status

Signature: [signal] void availabilityChanged_status (const QMultimedia_AvailabilityStatus availability)

Description: Signal declaration for QMediaRecorder::availabilityChanged(QMultimedia::AvailabilityStatus availability)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'availabilityChanged_status'. This is the getter.
The object exposes a writable attribute 'availabilityChanged_status'. This is the setter.

availableMetaData

Signature: [const] string[] availableMetaData

Description: Method QStringList QMediaRecorder::availableMetaData()

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QMediaRecorder::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

containerDescription

Signature: [const] string containerDescription (string format)

Description: Method QString QMediaRecorder::containerDescription(const QString &format)

containerFormat

Signature: [const] string containerFormat

Description: Method QString QMediaRecorder::containerFormat()

Python specific notes:
The object exposes a readable attribute 'containerFormat'. This is the getter.

containerFormat=

Signature: void containerFormat= (string container)

Description: Method void QMediaRecorder::setContainerFormat(const QString &container)

Python specific notes:
The object exposes a writable attribute 'containerFormat'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QMediaRecorder::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QMediaRecorder::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QMediaRecorder::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

duration

Signature: [const] long long duration

Description: Method qint64 QMediaRecorder::duration()

Python specific notes:
The object exposes a readable attribute 'duration'. This is the getter.

durationChanged

Signature: [signal] void durationChanged (long long duration)

Description: Signal declaration for QMediaRecorder::durationChanged(qint64 duration)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'durationChanged'. This is the getter.
The object exposes a writable attribute 'durationChanged'. This is the setter.

emit_actualLocationChanged

Signature: void emit_actualLocationChanged (const QUrl location)

Description: Emitter for signal void QMediaRecorder::actualLocationChanged(const QUrl &location)

Call this method to emit this signal.

emit_availabilityChanged_bool

Signature: void emit_availabilityChanged_bool (bool available)

Description: Emitter for signal void QMediaRecorder::availabilityChanged(bool available)

Call this method to emit this signal.

emit_availabilityChanged_status

Signature: void emit_availabilityChanged_status (const QMultimedia_AvailabilityStatus availability)

Description: Emitter for signal void QMediaRecorder::availabilityChanged(QMultimedia::AvailabilityStatus availability)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QMediaRecorder::destroyed(QObject *)

Call this method to emit this signal.

emit_durationChanged

Signature: void emit_durationChanged (long long duration)

Description: Emitter for signal void QMediaRecorder::durationChanged(qint64 duration)

Call this method to emit this signal.

emit_error_sig

Signature: void emit_error_sig (const QMediaRecorder_Error error)

Description: Emitter for signal void QMediaRecorder::error(QMediaRecorder::Error error)

Call this method to emit this signal.

emit_metaDataAvailableChanged

Signature: void emit_metaDataAvailableChanged (bool available)

Description: Emitter for signal void QMediaRecorder::metaDataAvailableChanged(bool available)

Call this method to emit this signal.

emit_metaDataChanged

Signature: void emit_metaDataChanged

Description: Emitter for signal void QMediaRecorder::metaDataChanged()

Call this method to emit this signal.

emit_metaDataChanged_kv

Signature: void emit_metaDataChanged_kv (string key, variant value)

Description: Emitter for signal void QMediaRecorder::metaDataChanged(const QString &key, const QVariant &value)

Call this method to emit this signal.

emit_metaDataWritableChanged

Signature: void emit_metaDataWritableChanged (bool writable)

Description: Emitter for signal void QMediaRecorder::metaDataWritableChanged(bool writable)

Call this method to emit this signal.

emit_mutedChanged

Signature: void emit_mutedChanged (bool muted)

Description: Emitter for signal void QMediaRecorder::mutedChanged(bool muted)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QMediaRecorder::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_stateChanged

Signature: void emit_stateChanged (const QMediaRecorder_State state)

Description: Emitter for signal void QMediaRecorder::stateChanged(QMediaRecorder::State state)

Call this method to emit this signal.

emit_statusChanged

Signature: void emit_statusChanged (const QMediaRecorder_Status status)

Description: Emitter for signal void QMediaRecorder::statusChanged(QMediaRecorder::Status status)

Call this method to emit this signal.

emit_volumeChanged

Signature: void emit_volumeChanged (double volume)

Description: Emitter for signal void QMediaRecorder::volumeChanged(double volume)

Call this method to emit this signal.

error

Signature: [const] QMediaRecorder_Error error

Description: Method QMediaRecorder::Error QMediaRecorder::error()

errorString

Signature: [const] string errorString

Description: Method QString QMediaRecorder::errorString()

error_sig

Signature: [signal] void error_sig (const QMediaRecorder_Error error)

Description: Signal declaration for QMediaRecorder::error(QMediaRecorder::Error error)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'error_sig'. This is the getter.
The object exposes a writable attribute 'error_sig'. This is the setter.

event

Signature: bool event (QEvent ptr event)

Description: Virtual method bool QMediaRecorder::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr watched, QEvent ptr event)

Description: Virtual method bool QMediaRecorder::eventFilter(QObject *watched, QEvent *event)

This method can be reimplemented in a derived class.

isAvailable?

Signature: [const] bool isAvailable?

Description: Method bool QMediaRecorder::isAvailable()

isMetaDataAvailable?

Signature: [const] bool isMetaDataAvailable?

Description: Method bool QMediaRecorder::isMetaDataAvailable()

Python specific notes:
The object exposes a readable attribute 'metaDataAvailable'. This is the getter.

isMetaDataWritable?

Signature: [const] bool isMetaDataWritable?

Description: Method bool QMediaRecorder::isMetaDataWritable()

Python specific notes:
The object exposes a readable attribute 'metaDataWritable'. This is the getter.

isMuted?

Signature: [const] bool isMuted?

Description: Method bool QMediaRecorder::isMuted()

Python specific notes:
The object exposes a readable attribute 'muted'. This is the getter.

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QMediaRecorder::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

mediaObject

Signature: [const] QMediaObject ptr mediaObject

Description: Virtual method QMediaObject *QMediaRecorder::mediaObject()

This method can be reimplemented in a derived class.

metaData

Signature: [const] variant metaData (string key)

Description: Method QVariant QMediaRecorder::metaData(const QString &key)

metaDataAvailable

Signature: [const] bool metaDataAvailable

Description: Method bool QMediaRecorder::isMetaDataAvailable()

Python specific notes:
The object exposes a readable attribute 'metaDataAvailable'. This is the getter.

metaDataAvailableChanged

Signature: [signal] void metaDataAvailableChanged (bool available)

Description: Signal declaration for QMediaRecorder::metaDataAvailableChanged(bool available)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'metaDataAvailableChanged'. This is the getter.
The object exposes a writable attribute 'metaDataAvailableChanged'. This is the setter.

metaDataChanged

Signature: [signal] void metaDataChanged

Description: Signal declaration for QMediaRecorder::metaDataChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'metaDataChanged'. This is the getter.
The object exposes a writable attribute 'metaDataChanged'. This is the setter.

metaDataChanged_kv

Signature: [signal] void metaDataChanged_kv (string key, variant value)

Description: Signal declaration for QMediaRecorder::metaDataChanged(const QString &key, const QVariant &value)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'metaDataChanged_kv'. This is the getter.
The object exposes a writable attribute 'metaDataChanged_kv'. This is the setter.

metaDataWritable

Signature: [const] bool metaDataWritable

Description: Method bool QMediaRecorder::isMetaDataWritable()

Python specific notes:
The object exposes a readable attribute 'metaDataWritable'. This is the getter.

metaDataWritableChanged

Signature: [signal] void metaDataWritableChanged (bool writable)

Description: Signal declaration for QMediaRecorder::metaDataWritableChanged(bool writable)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'metaDataWritableChanged'. This is the getter.
The object exposes a writable attribute 'metaDataWritableChanged'. This is the setter.

muted

Signature: [const] bool muted

Description: Method bool QMediaRecorder::isMuted()

Python specific notes:
The object exposes a readable attribute 'muted'. This is the getter.

muted=

Signature: void muted= (bool muted)

Description: Method void QMediaRecorder::setMuted(bool muted)

Python specific notes:
The object exposes a writable attribute 'muted'. This is the setter.

mutedChanged

Signature: [signal] void mutedChanged (bool muted)

Description: Signal declaration for QMediaRecorder::mutedChanged(bool muted)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'mutedChanged'. This is the getter.
The object exposes a writable attribute 'mutedChanged'. This is the setter.

new

Signature: [static] new QMediaRecorder new (QMediaObject ptr mediaObject, QObject ptr parent = nullptr)

Description: Constructor QMediaRecorder::QMediaRecorder(QMediaObject *mediaObject, QObject *parent)

This method creates an object of class QMediaRecorder.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QMediaRecorder::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

outputLocation

Signature: [const] QUrl outputLocation

Description: Method QUrl QMediaRecorder::outputLocation()

Python specific notes:
The object exposes a readable attribute 'outputLocation'. This is the getter.

outputLocation=

Signature: bool outputLocation= (const QUrl location)

Description: Method bool QMediaRecorder::setOutputLocation(const QUrl &location)

Python specific notes:
The object exposes a writable attribute 'outputLocation'. This is the setter.

pause

Signature: void pause

Description: Method void QMediaRecorder::pause()

receivers

Signature: [const] int receivers (string signal)

Description: Method int QMediaRecorder::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

record

Signature: void record

Description: Method void QMediaRecorder::record()

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QMediaRecorder::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QMediaRecorder::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setAudioSettings

Signature: void setAudioSettings (const QAudioEncoderSettings audioSettings)

Description: Method void QMediaRecorder::setAudioSettings(const QAudioEncoderSettings &audioSettings)

Python specific notes:
The object exposes a writable attribute 'audioSettings'. This is the setter.

setContainerFormat

Signature: void setContainerFormat (string container)

Description: Method void QMediaRecorder::setContainerFormat(const QString &container)

Python specific notes:
The object exposes a writable attribute 'containerFormat'. This is the setter.

setEncodingSettings

Signature: void setEncodingSettings (const QAudioEncoderSettings audioSettings, const QVideoEncoderSettings videoSettings = QVideoEncoderSettings(), string containerMimeType = QString())

Description: Method void QMediaRecorder::setEncodingSettings(const QAudioEncoderSettings &audioSettings, const QVideoEncoderSettings &videoSettings, const QString &containerMimeType)

setMediaObject

Signature: bool setMediaObject (QMediaObject ptr object)

Description: Virtual method bool QMediaRecorder::setMediaObject(QMediaObject *object)

This method can be reimplemented in a derived class.

setMetaData

Signature: void setMetaData (string key, variant value)

Description: Method void QMediaRecorder::setMetaData(const QString &key, const QVariant &value)

setMuted

Signature: void setMuted (bool muted)

Description: Method void QMediaRecorder::setMuted(bool muted)

Python specific notes:
The object exposes a writable attribute 'muted'. This is the setter.

setOutputLocation

Signature: bool setOutputLocation (const QUrl location)

Description: Method bool QMediaRecorder::setOutputLocation(const QUrl &location)

Python specific notes:
The object exposes a writable attribute 'outputLocation'. This is the setter.

setVideoSettings

Signature: void setVideoSettings (const QVideoEncoderSettings videoSettings)

Description: Method void QMediaRecorder::setVideoSettings(const QVideoEncoderSettings &videoSettings)

Python specific notes:
The object exposes a writable attribute 'videoSettings'. This is the setter.

setVolume

Signature: void setVolume (double volume)

Description: Method void QMediaRecorder::setVolume(double volume)

Python specific notes:
The object exposes a writable attribute 'volume'. This is the setter.

state

Signature: [const] QMediaRecorder_State state

Description: Method QMediaRecorder::State QMediaRecorder::state()

Python specific notes:
The object exposes a readable attribute 'state'. This is the getter.

stateChanged

Signature: [signal] void stateChanged (const QMediaRecorder_State state)

Description: Signal declaration for QMediaRecorder::stateChanged(QMediaRecorder::State state)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'stateChanged'. This is the getter.
The object exposes a writable attribute 'stateChanged'. This is the setter.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

status

Signature: [const] QMediaRecorder_Status status

Description: Method QMediaRecorder::Status QMediaRecorder::status()

Python specific notes:
The object exposes a readable attribute 'status'. This is the getter.

statusChanged

Signature: [signal] void statusChanged (const QMediaRecorder_Status status)

Description: Signal declaration for QMediaRecorder::statusChanged(QMediaRecorder::Status status)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'statusChanged'. This is the getter.
The object exposes a writable attribute 'statusChanged'. This is the setter.

stop

Signature: void stop

Description: Method void QMediaRecorder::stop()

supportedAudioCodecs

Signature: [const] string[] supportedAudioCodecs

Description: Method QStringList QMediaRecorder::supportedAudioCodecs()

supportedAudioSampleRates

Signature: [const] int[] supportedAudioSampleRates (const QAudioEncoderSettings settings = QAudioEncoderSettings(), bool ptr continuous = nullptr)

Description: Method QList<int> QMediaRecorder::supportedAudioSampleRates(const QAudioEncoderSettings &settings, bool *continuous)

supportedContainers

Signature: [const] string[] supportedContainers

Description: Method QStringList QMediaRecorder::supportedContainers()

supportedFrameRates

Signature: [const] double[] supportedFrameRates (const QVideoEncoderSettings settings = QVideoEncoderSettings(), bool ptr continuous = nullptr)

Description: Method QList<qreal> QMediaRecorder::supportedFrameRates(const QVideoEncoderSettings &settings, bool *continuous)

supportedResolutions

Signature: [const] QSize[] supportedResolutions (const QVideoEncoderSettings settings = QVideoEncoderSettings(), bool ptr continuous = nullptr)

Description: Method QList<QSize> QMediaRecorder::supportedResolutions(const QVideoEncoderSettings &settings, bool *continuous)

supportedVideoCodecs

Signature: [const] string[] supportedVideoCodecs

Description: Method QStringList QMediaRecorder::supportedVideoCodecs()

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QMediaRecorder::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QMediaRecorder::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QMediaRecorder::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

videoCodecDescription

Signature: [const] string videoCodecDescription (string codecName)

Description: Method QString QMediaRecorder::videoCodecDescription(const QString &codecName)

videoSettings

Signature: [const] QVideoEncoderSettings videoSettings

Description: Method QVideoEncoderSettings QMediaRecorder::videoSettings()

Python specific notes:
The object exposes a readable attribute 'videoSettings'. This is the getter.

videoSettings=

Signature: void videoSettings= (const QVideoEncoderSettings videoSettings)

Description: Method void QMediaRecorder::setVideoSettings(const QVideoEncoderSettings &videoSettings)

Python specific notes:
The object exposes a writable attribute 'videoSettings'. This is the setter.

volume

Signature: [const] double volume

Description: Method double QMediaRecorder::volume()

Python specific notes:
The object exposes a readable attribute 'volume'. This is the getter.

volume=

Signature: void volume= (double volume)

Description: Method void QMediaRecorder::setVolume(double volume)

Python specific notes:
The object exposes a writable attribute 'volume'. This is the setter.

volumeChanged

Signature: [signal] void volumeChanged (double volume)

Description: Signal declaration for QMediaRecorder::volumeChanged(double volume)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'volumeChanged'. This is the getter.
The object exposes a writable attribute 'volumeChanged'. This is the setter.