The QMediaServiceProvider class provides an abstract allocator for media services. More...
#include <QMediaServiceProvider>
Inherits: QObject.
This class was introduced in Qt Mobility 1.0.
virtual QString | deviceDescription ( const QByteArray & serviceType, const QByteArray & device ) |
virtual QList<QByteArray> | devices ( const QByteArray & service ) const |
virtual QtMultimediaKit::SupportEstimate | hasSupport ( const QByteArray & serviceType, const QString & mimeType, const QStringList & codecs, int flags = 0 ) const |
virtual void | releaseService ( QMediaService * service ) = 0 |
virtual QMediaService * | requestService ( const QByteArray & type, const QMediaServiceProviderHint & hint = QMediaServiceProviderHint() ) = 0 |
virtual QStringList | supportedMimeTypes ( const QByteArray & serviceType, int flags = 0 ) const |
QMediaServiceProvider * | defaultServiceProvider () |
The QMediaServiceProvider class provides an abstract allocator for media services.
Returns a default provider of media services.
Returns the description of device related to serviceType, suitable for use by an application for display.
This function was introduced in Qt Mobility 1.0.
Returns the list of devices related to service type.
This function was introduced in Qt Mobility 1.0.
Returns how confident a media service provider is that is can provide a serviceType service that is able to play media of a specific mimeType that is encoded using the listed codecs while adhering to constraints identified in flags.
This function was introduced in Qt Mobility 1.0.
Releases a media service requested with requestService().
This function was introduced in Qt Mobility 1.0.
Requests an instance of a type service which best matches the given hint.
Returns a pointer to the requested service, or a null pointer if there is no suitable service.
The returned service must be released with releaseService when it is finished with.
This function was introduced in Qt Mobility 1.0.
Returns a list of MIME types supported by the service provider for the specified serviceType.
The resultant list is restricted to MIME types which can be supported given the constraints in flags.
This function was introduced in Qt Mobility 1.0.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.