QCameraInfoControl露

The QCameraInfoControl class provides a camera info media control. More鈥�

Inheritance diagram of PySide2.QtMultimedia.QCameraInfoControl

Detailed Description露

The QCameraInfoControl class provides information about the camera devices available on the system.

The interface name of QCameraInfoControl is org.qt-project.qt.camerainfocontrol/5.3 as defined in QCameraInfoControl_iid .

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

PySide2.QtCore.QObject

Constructs a camera info control with the given parent .

PySide2.QtMultimedia.QCameraInfoControl.cameraOrientation(deviceName)露
Parameters:

deviceName 鈥� str

Return type:

int

Returns the physical orientation of the sensor for the camera named deviceName .

The value is the orientation angle (clockwise, in steps of 90 degrees) of the camera sensor in relation to the display in its natural orientation.

PySide2.QtMultimedia.QCameraInfoControl.cameraPosition(deviceName)露
Parameters:

deviceName 鈥� str

Return type:

Position

Returns the physical position of the camera named deviceName on the hardware system.