The QCameraLocksControl class is an abstract base class for classes that control still cameras or video cameras. More...
| Header: | #include <QCameraLocksControl> |
| qmake: | QT += multimedia |
| Inherits: | QMediaControl |
| virtual | ~QCameraLocksControl() |
| virtual QCamera::LockStatus | lockStatus(QCamera::LockType lock) const = 0 |
| virtual void | searchAndLock(QCamera::LockTypes locks) = 0 |
| virtual QCamera::LockTypes | supportedLocks() const = 0 |
| virtual void | unlock(QCamera::LockTypes locks) = 0 |
| void | lockStatusChanged(QCamera::LockType type, QCamera::LockStatus status, QCamera::LockChangeReason reason) |
| QCameraLocksControl(QObject *parent = nullptr) |
The QCameraLocksControl class is an abstract base class for classes that control still cameras or video cameras.
This service is provided by a QMediaService object via QMediaService::control(). It is used by QCamera.
The interface name of QCameraLocksControl is org.qt-project.qt.cameralockscontrol/5.0 as defined in QCameraLocksControl_iid.
See also QMediaService::requestControl() and QCamera.
[protected] QCameraLocksControl::QCameraLocksControl(QObject *parent = nullptr)Constructs a camera locks control object with parent.
[virtual] QCameraLocksControl::~QCameraLocksControl()Destruct the camera locks control object.
[pure virtual] QCamera::LockStatus QCameraLocksControl::lockStatus(QCamera::LockType lock) constReturns the camera lock status.
[signal] void QCameraLocksControl::lockStatusChanged(QCamera::LockType type, QCamera::LockStatus status, QCamera::LockChangeReason reason)Signals the lock type status was changed with the specified reason.
[pure virtual] void QCameraLocksControl::searchAndLock(QCamera::LockTypes locks)Request camera locks.
[pure virtual] QCamera::LockTypes
QCameraLocksControl::supportedLocks() constReturns the lock types, the camera supports.
[pure virtual] void QCameraLocksControl::unlock(QCamera::LockTypes locks)Unlock camera locks.
org.qt-project.qt.cameralockscontrol/5.0
Defines the interface name of the QCameraLocksControl 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: