QCameraLocksControl

The QCameraLocksControl class is an abstract base class for classes that control still cameras or video cameras. More

Inheritance diagram of PySide2.QtMultimedia.QCameraLocksControl

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 .

class PySide2.QtMultimedia.QCameraLocksControl([parent=None])
param parent:

PySide2.QtCore.QObject

Constructs a camera locks control object with parent .

PySide2.QtMultimedia.QCameraLocksControl.lockStatus(lock)
Parameters:

lockLockType

Return type:

LockStatus

Returns the camera lock status.

PySide2.QtMultimedia.QCameraLocksControl.lockStatusChanged(type, status, reason)
Parameters:
PySide2.QtMultimedia.QCameraLocksControl.searchAndLock(locks)
Parameters:

locksLockTypes

Request camera locks .

PySide2.QtMultimedia.QCameraLocksControl.supportedLocks()
Return type:

LockTypes

Returns the lock types, the camera supports.

PySide2.QtMultimedia.QCameraLocksControl.unlock(locks)
Parameters:

locksLockTypes

Unlock camera locks .