Member Function Documentation
QMediaServiceProvider * QMediaServiceProvider::defaultServiceProvider () [static]
Returns a default provider of media services.
QString QMediaServiceProvider::deviceDescription ( const QByteArray & serviceType, const QByteArray & device ) [virtual]
Returns the description of device related to serviceType, suitable for use by an application for display.
QList<QByteArray> QMediaServiceProvider::devices ( const QByteArray & service ) const [virtual]
Returns the list of devices related to service type.
QtMultimediaKit::SupportEstimate QMediaServiceProvider::hasSupport ( const QByteArray & serviceType, const QString & mimeType, const QStringList & codecs, int flags = 0 ) const [virtual]
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.
void QMediaServiceProvider::releaseService ( QMediaService * service ) [pure virtual]
Releases a media service requested with requestService().
QMediaService * QMediaServiceProvider::requestService ( const QByteArray & type, const QMediaServiceProviderHint & hint = QMediaServiceProviderHint() ) [pure virtual]
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.
QStringList QMediaServiceProvider::supportedMimeTypes ( const QByteArray & serviceType, int flags = 0 ) const [virtual]
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.