QMediaServiceSupportedFormatsInterface Struct

The QMediaServiceSupportedFormatsInterface class interface identifies if a media service plug-in supports a media format. 更多...

头: #include <QMediaServiceSupportedFormatsInterface>
qmake: QT += multimedia

This struct is obsolete. 提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

公共函数

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

详细描述

A QMediaServiceProviderPlugin may implement this interface.

成员函数文档编制

[虚拟] QMediaServiceSupportedFormatsInterface:: ~QMediaServiceSupportedFormatsInterface ()

Destroys a media service supported formats interface.

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

Returns the level of support a media service plug-in has for a mimeType and set of codecs .

[pure virtual] QStringList QMediaServiceSupportedFormatsInterface:: supportedMimeTypes () const

Returns a list of MIME types supported by the media service plug-in.