QMediaServiceSupportedFormatsInterface Struct

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

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

This struct is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Public Functions

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.

Member Function Documentation

[virtual] 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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.