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:

lock 鈥� LockType

Return type:

LockStatus

Returns the camera lock status.

PySide2.QtMultimedia.QCameraLocksControl.lockStatusChanged(type, status, reason)露
Parameters:
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 .