The QCameraLocksControl 类是用于控制静止摄像头 (或视频摄像机) 的类的抽象基类。 更多...
头: | #include <QCameraLocksControl> |
qmake: | QT += multimedia |
继承: | 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 ) |
const QMetaObject | staticMetaObject |
QCameraLocksControl (QObject * parent = nullptr) |
QCameraLocksControl_iid |
The QCameraLocksControl 类是用于控制静止摄像头 (或视频摄像机) 的类的抽象基类。
此服务的提供是通过 QMediaService 对象凭借 QMediaService::control()。它被用于 QCamera .
接口名称对于
QCameraLocksControl
is
org.qt-project.qt.cameralockscontrol/5.0
作为定义在
QCameraLocksControl_iid
.
另请参阅 QMediaService::requestControl () 和 QCamera .
[protected]
QCameraLocksControl::
QCameraLocksControl
(
QObject
*
parent
= nullptr)
构造摄像头锁控制对象采用 parent .
[虚拟]
QCameraLocksControl::
~QCameraLocksControl
()
销毁摄像头锁控制对象。
[pure virtual]
QCamera::LockStatus
QCameraLocksControl::
lockStatus
(
QCamera::LockType
lock
) const
返回摄像头 lock 状态。
[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
)
请求摄像头 locks .
[pure virtual]
QCamera::LockTypes
QCameraLocksControl::
supportedLocks
() const
返回摄像头支持的锁类型。
[pure virtual]
void
QCameraLocksControl::
unlock
(
QCamera::LockTypes
locks
)
解锁摄像机 locks .
org.qt-project.qt.cameralockscontrol/5.0
定义接口名为 QCameraLocksControl 类。