The QMediaAvailabilityControl class supplies a control for reporting availability of a service. More...
Header: | #include <QMediaAvailabilityControl> |
qmake: | QT += multimedia |
Inherits: | QMediaControl |
virtual | ~QMediaAvailabilityControl() |
virtual QMultimedia::AvailabilityStatus | availability() const = 0 |
void | availabilityChanged(QMultimedia::AvailabilityStatus availability) |
QMediaAvailabilityControl(QObject *parent = nullptr) |
The QMediaAvailabilityControl class supplies a control for reporting availability of a service.
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.
See also QMediaService::requestControl() and QMediaObject.
[protected]
QMediaAvailabilityControl::QMediaAvailabilityControl(QObject *parent = nullptr)Constructs an availability control object with parent.
[virtual]
QMediaAvailabilityControl::~QMediaAvailabilityControl()Destruct the availability control object.
[pure virtual]
QMultimedia::AvailabilityStatus QMediaAvailabilityControl::availability() constReturns 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.
[signal]
void QMediaAvailabilityControl::availabilityChanged(QMultimedia::AvailabilityStatus availability)Signal emitted when the current availability value changed.
org.qt-project.qt.mediaavailabilitycontrol/5.0
Defines the interface name of the QMediaAvailabilityControl class.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: