CopperSpice API  1.9.0
QMediaServiceSupportedFormatsInterface Class Referenceabstract

The QMediaServiceSupportedFormatsInterface class interface identifies if a media service plugin supports a media format. More...

Public Methods

virtual ~QMediaServiceSupportedFormatsInterface ()
virtual QMultimedia::SupportEstimate hasSupport (const QString &mimeType, const QStringList &codecs) const = 0
virtual QStringList supportedMimeTypes () const = 0

Detailed Description

A QMediaServiceProviderPlugin may implement this interface.

Constructor & Destructor Documentation

QMediaServiceSupportedFormatsInterface::~QMediaServiceSupportedFormatsInterface ( )

Destroys a media service supported formats interface.

Method Documentation

QMultimedia::SupportEstimate QMediaServiceSupportedFormatsInterface::hasSupport ( const QString mimeType,
const QStringList codecs 
) const
pure virtual

Returns the level of support a media service plugin has for a mimeType and set of codecs.

QStringList QMediaServiceSupportedFormatsInterface::supportedMimeTypes ( ) const
pure virtual

Returns a list of MIME types supported by the media service plugin.