The 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 |
const QMetaObject | staticMetaObject |
QCameraInfoControl (QObject * parent = nullptr) |
The QCameraInfoControl class provides a camera info media control.
The 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
= nullptr)
Constructs a camera info control with the given parent .
[虚拟]
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.