QCameraLocksControl¶
The
QCameraLocksControl
class is an abstract base class for classes that control still cameras or video cameras. More…
Detailed Description¶
This service is provided by a
QMediaService
object via QMediaService::control(). It is used byQCamera
.The interface name of
QCameraLocksControl
isorg.qt-project.qt.cameralockscontrol/5.0
as defined inQCameraLocksControl_iid
.See also
-
class
QCameraLocksControl
([parent=None])¶ - param parent
QObject
Constructs a camera locks control object with
parent
.
-
PySide2.QtMultimedia.QCameraLocksControl.
lockStatus
(lock)¶ - Parameters
lock –
LockType
- Return type
LockStatus
Returns the camera
lock
status.
-
PySide2.QtMultimedia.QCameraLocksControl.
lockStatusChanged
(type, status, reason)¶ - Parameters
type –
LockType
status –
LockStatus
reason –
LockChangeReason
-
PySide2.QtMultimedia.QCameraLocksControl.
searchAndLock
(locks)¶ - Parameters
locks –
LockTypes
Request camera
locks
.
-
PySide2.QtMultimedia.QCameraLocksControl.
supportedLocks
()¶ - Return type
LockTypes
Returns the lock types, the camera supports.
-
PySide2.QtMultimedia.QCameraLocksControl.
unlock
(locks)¶ - Parameters
locks –
LockTypes
Unlock camera
locks
.
© 2018 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.