|qmake:||QT += multimedia|
- 32 public functions inherited from QObject
- 2 signals inherited from QObject
|QMediaAvailabilityControl(QObject *parent = Q_NULLPTR)|
- 9 protected functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 11 static public members inherited from QObject
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.
Member Function Documentation
[protected] QMediaAvailabilityControl::QMediaAvailabilityControl(QObject *parent = Q_NULLPTR)
Constructs an availability control object with parent.
Destruct the availability control object.
[pure virtual] QMultimedia::AvailabilityStatus QMediaAvailabilityControl::availability() const
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.
[signal] void QMediaAvailabilityControl::availabilityChanged(QMultimedia::AvailabilityStatus availability)
Signal emitted when the current availability value changed.
Defines the interface name of the QMediaAvailabilityControl class.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.