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
.