QCameraInfoControl Class

QCameraInfoControl class provides a camera info media control. 更多...

头: #include <QCameraInfoControl>
qmake: QT += multimedia
Since: Qt 5.3
继承: QMediaControl

公共函数

virtual ~QCameraInfoControl ()
virtual int cameraOrientation (const QString & deviceName ) const = 0
virtual QCamera::Position cameraPosition (const QString & deviceName ) const = 0

保护函数

QCameraInfoControl (QObject * parent = Q_NULLPTR)

额外继承成员

详细描述

QCameraInfoControl class provides a camera info media control.

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

接口名称对于 QCameraInfoControl is org.qt-project.qt.camerainfocontrol/5.3 作为定义在 QCameraInfoControl_iid .

成员函数文档编制

[protected] QCameraInfoControl:: QCameraInfoControl ( QObject * parent = Q_NULLPTR)

Constructs a camera info control with the given parent .

[virtual] QCameraInfoControl:: ~QCameraInfoControl ()

Destroys a camera info control.

[pure virtual] int QCameraInfoControl:: cameraOrientation (const QString & deviceName ) const

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.

[pure virtual] QCamera::Position QCameraInfoControl:: cameraPosition (const QString & deviceName ) const

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