QtMobility Reference Documentation

QMediaServiceProviderPlugin Class Reference

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

 #include <QMediaServiceProviderPlugin>

Inherits: QObject.

This class was introduced in Qt Mobility 1.0.

Public Functions

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

Reimplemented Public Functions

virtual QStringList keys () const = 0
virtual void release ( QMediaService * service ) = 0
  • 29 public functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

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().

This function was introduced in Qt Mobility 1.0.

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

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

This function was introduced in Qt Mobility 1.0.

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

Destroys a media service constructed with create().

This function was introduced in Qt Mobility 1.0.

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.