Home · All Classes · All Functions ·

QMetaDataReaderControl Class Reference

The QMetaDataReaderControl class provides read access to the meta-data of a QMediaService's media. More...

    #include <QMetaDataReaderControl>

This class is under development and is subject to change.

Inherits QMediaControl.

Public Functions

Signals

Protected Functions

Macros

Additional Inherited Members


Detailed Description

The QMetaDataReaderControl class provides read access to the meta-data of a QMediaService's media.

If a QMediaService can provide read or write access to the meta-data of its current media it will implement QMetaDataReaderControl. This control provides functions for both retrieving and setting meta-data values. Meta-data may be addressed by the well defined keys in the QtMultimediaKit::MetaData enumeration using the metaData() functions, or by string keys using the extendedMetaData() functions.

The functionality provided by this control is exposed to application code by the meta-data members of QMediaObject, and so meta-data access is potentially available in any of the media object classes. Any media service may implement QMetaDataReaderControl.

The interface name of QMetaDataReaderControl is com.nokia.Qt.QMetaDataReaderControl/1.0 as defined in QMetaDataReaderControl_iid.

See also QMediaService::requestControl() and QMediaObject.


Member Function Documentation

QMetaDataReaderControl::QMetaDataReaderControl ( QObject * parent = 0 )   [protected]

Construct a QMetaDataReaderControl with parent. This class is meant as a base class for service specific meta data providers so this constructor is protected.

QMetaDataReaderControl::~QMetaDataReaderControl ()

Destroy the meta-data object.

QStringList QMetaDataReaderControl::availableExtendedMetaData () const   [pure virtual]

Returns a list of keys there is extended meta-data available for.

QList<QtMultimediaKit::MetaData> QMetaDataReaderControl::availableMetaData () const   [pure virtual]

Returns a list of keys there is meta-data available for.

QVariant QMetaDataReaderControl::extendedMetaData ( const QString & key ) const   [pure virtual]

Returns the metaData for an abitrary string key.

The valid selection of keys for extended meta-data is determined by the provider and the meaning and type may differ between providers.

bool QMetaDataReaderControl::isMetaDataAvailable () const   [pure virtual]

Identifies if meta-data is available from a media service.

Returns true if the meta-data is available and false otherwise.

QVariant QMetaDataReaderControl::metaData ( QtMultimediaKit::MetaData key ) const   [pure virtual]

Returns the meta-data for the given key.

void QMetaDataReaderControl::metaDataAvailableChanged ( bool available )   [signal]

Signal the availability of meta-data has changed, available will be true if the multimedia object has meta-data.

void QMetaDataReaderControl::metaDataChanged ()   [signal]

Signal the changes of meta-data.


Macro Documentation

QMetaDataReaderControl_iid

com.nokia.Qt.QMetaDataReaderControl/1.0

Defines the interface name of the QMetaDataReaderControl class.


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.1