Qt Mobility Reference Documentation

QMediaServiceProviderPlugin Class Reference

The QMediaServiceProviderPlugin class interface provides an interface for QMediaService plug-ins. More...

 #include <QMediaServiceProviderPlugin>

This class is under development and is subject to change.


Public Functions

virtual QMediaService * create ( const QString & key ) = 0

Reimplemented Public Functions

virtual QStringList keys () const = 0
virtual void release ( QMediaService * service ) = 0

Detailed Description

The QMediaServiceProviderPlugin class interface provides an interface for QMediaService plug-ins.

A media service provider plug-in may implement one or more of QMediaServiceSupportedFormatsInterface, QMediaServiceSupportedDevicesInterface, and QMediaServiceFeaturesInterface to identify the features it supports.


Member Function Documentation

QMediaService * QMediaServiceProviderPlugin::create ( const QString & key ) [pure virtual]

Constructs a new instance of the QMediaService identified by key.

The QMediaService returned must be destroyed with release().

QStringList QMediaServiceProviderPlugin::keys () const [pure virtual]

Returns a list of keys for media services a plug-in can create.

void QMediaServiceProviderPlugin::release ( QMediaService * service ) [pure virtual]

Destroys a media service constructed with create().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.