QMediaServiceCameraInfoInterface Struct

The QMediaServiceCameraInfoInterface class interface provides camera-specific information about devices supported by a camera service plug-in. 更多...

頭: #include <QMediaServiceCameraInfoInterface>
qmake: QT += multimedia
Since: Qt 5.3

This struct is obsolete. 提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

This struct was introduced in Qt 5.3.

公共函數

virtual ~QMediaServiceCameraInfoInterface ()
virtual int cameraOrientation (const QByteArray & device ) const = 0
virtual QCamera::Position cameraPosition (const QByteArray & device ) const = 0

詳細描述

A QMediaServiceProviderPlugin may implement this interface, in that case it also needs to implement the QMediaServiceSupportedDevicesInterface .

成員函數文檔編製

[虛擬] QMediaServiceCameraInfoInterface:: ~QMediaServiceCameraInfoInterface ()

Destroys a media service camera info interface.

[pure virtual] int QMediaServiceCameraInfoInterface:: cameraOrientation (const QByteArray & device ) const

Returns the physical orientation of a camera device supported by a camera service plug-in.

[pure virtual] QCamera::Position QMediaServiceCameraInfoInterface:: cameraPosition (const QByteArray & device ) const

Returns the physical position of a camera device supported by a camera service plug-in.