The QMetaDataReaderControl class provides read access to the meta-data of a QMediaService's media. More...
#include <QMetaDataReaderControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.0.
~QMetaDataReaderControl () | |
virtual QStringList | availableExtendedMetaData () const = 0 |
virtual QList<QtMultimediaKit::MetaData> | availableMetaData () const = 0 |
virtual QVariant | extendedMetaData ( const QString & key ) const = 0 |
virtual bool | isMetaDataAvailable () const = 0 |
virtual QVariant | metaData ( QtMultimediaKit::MetaData key ) const = 0 |
void | metaDataAvailableChanged ( bool available ) |
void | metaDataChanged () |
QMetaDataReaderControl ( QObject * parent = 0 ) |
QMetaDataReaderControl_iid |
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.
Construct a QMetaDataReaderControl with parent. This class is meant as a base class for service specific meta data providers so this constructor is protected.
Destroy the meta-data object.
Returns a list of keys there is extended meta-data available for.
This function was introduced in Qt Mobility 1.0.
Returns a list of keys there is meta-data available for.
This function was introduced in Qt Mobility 1.0.
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.
This function was introduced in Qt Mobility 1.0.
Identifies if meta-data is available from a media service.
Returns true if the meta-data is available and false otherwise.
This function was introduced in Qt Mobility 1.0.
Returns the meta-data for the given key.
This function was introduced in Qt Mobility 1.0.
Signal the availability of meta-data has changed, available will be true if the multimedia object has meta-data.
This function was introduced in Qt Mobility 1.0.
Signal the changes of meta-data.
This function was introduced in Qt Mobility 1.0.
com.nokia.Qt.QMetaDataReaderControl/1.0
Defines the interface name of the QMetaDataReaderControl class.
© 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.