QMediaBindableInterface

The QMediaBindableInterface class is the base class for objects extending media objects functionality. More

Inheritance diagram of PySide2.QtMultimedia.QMediaBindableInterface

Inherited by: QAudioRecorder, QCameraImageCapture, QMediaPlaylist, QMediaRecorder, QRadioData, QCameraViewfinder, QGraphicsVideoItem, QVideoWidget

Detailed Description

class QMediaBindableInterface
PySide2.QtMultimedia.QMediaBindableInterface.mediaObject()
Return type

QMediaObject

Return the currently attached media object.

See also

setMediaObject()

PySide2.QtMultimedia.QMediaBindableInterface.setMediaObject(object)
Parameters

objectQMediaObject

Return type

bool

Attaches to the media object . Returns true if attached successfully, otherwise returns false.

See also

mediaObject()