CopperSpice API  1.7.2
QMediaServiceCameraInfoInterface Class Referenceabstract

Provides camera specific information about devices supported by a camera service. More...

Public Methods

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

Detailed Description

The QMediaServiceCameraInfoInterface class interface provides camera specific information about devices supported by a camera service plugin.

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

Constructor & Destructor Documentation

QMediaServiceCameraInfoInterface::~QMediaServiceCameraInfoInterface ( )
inlinevirtual

Destroys a media service camera info interface.

Method Documentation

int QMediaServiceCameraInfoInterface::cameraOrientation ( const QString device) const
pure virtual

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

QCamera::Position QMediaServiceCameraInfoInterface::cameraPosition ( const QString device) const
pure virtual

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