QMediaAvailabilityControl

The QMediaAvailabilityControl class supplies a control for reporting availability of a service. More

Inheritance diagram of PySide2.QtMultimedia.QMediaAvailabilityControl

Detailed Description

An instance of QMediaObject (or its derived classes) can report any changes in availability via this control.

The interface name of QMediaAvailabilityControl is org.qt-project.qt.mediaavailabilitycontrol/5.0 as defined in QMediaAvailabilityControl_iid .

class PySide2.QtMultimedia.QMediaAvailabilityControl([parent=None])
param parent:

PySide2.QtCore.QObject

Constructs an availability control object with parent .

PySide2.QtMultimedia.QMediaAvailabilityControl.availability()
Return type:

AvailabilityStatus

Returns the current availability of this instance of the media service. If the availability changes at run time (for example, some other media client takes all media resources) the availabilityChanges() signal should be emitted.

PySide2.QtMultimedia.QMediaAvailabilityControl.availabilityChanged(availability)
Parameters:

availabilityAvailabilityStatus