QCameraLocksControl Class▲
-
Header: QCameraLocksControl
-
qmake: QT += multimedia
-
Inherits: QMediaControl
-
Inherited By:
-
Group: QCameraLocksControl is part of multimedia_control
Detailed Description▲
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▲
See also QMediaService::requestControl(), QCamera
Member Function Documentation▲
[explicit 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) const▲
Returns the camera lock status.
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() const▲
Returns the lock types, the camera supports.
[pure virtual] void QCameraLocksControl::unlock(QCamera::LockTypes locks)▲
Unlock camera locks.
Macro Documentation▲
QCameraLocksControl_iid▲
org.qt-project.qt.cameralockscontrol/5.0
Defines the interface name of the QCameraLocksControl class.