QMetaDataReaderControl¶
The
QMetaDataReaderControl
class provides read access to the meta-data of aQMediaService
‘s media. More…
Detailed Description¶
If a
QMediaService
can provide read or write access to the meta-data of its current media it will implementQMetaDataReaderControl
. This control provides functions for both retrieving and setting meta-data values. Meta-data may be addressed by the keys defined in the QMediaMetaData namespace.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 implementQMetaDataReaderControl
.The interface name of
QMetaDataReaderControl
isorg.qt-project.qt.metadatareadercontrol/5.0
as defined inQMetaDataReaderControl_iid
.See also
- class PySide2.QtMultimedia.QMetaDataReaderControl([parent=None])¶
- param parent:
Construct a
QMetaDataReaderControl
withparent
. This class is meant as a base class for service specific meta data providers so this constructor is protected.
- PySide2.QtMultimedia.QMetaDataReaderControl.availableMetaData()¶
- Return type:
list of strings
Returns a list of keys there is meta-data available for.
- PySide2.QtMultimedia.QMetaDataReaderControl.isMetaDataAvailable()¶
- Return type:
bool
Identifies if meta-data is available from a media service.
Returns true if the meta-data is available and false otherwise.
- PySide2.QtMultimedia.QMetaDataReaderControl.metaData(key)¶
- Parameters:
key – str
- Return type:
object
Returns the meta-data for the given
key
.
- PySide2.QtMultimedia.QMetaDataReaderControl.metaDataAvailableChanged(available)¶
- Parameters:
available – bool
- PySide2.QtMultimedia.QMetaDataReaderControl.metaDataChanged()¶
- PySide2.QtMultimedia.QMetaDataReaderControl.metaDataChanged(key, value)
- Parameters:
key – str
value – object
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.