mediaMetaData QML Value Type

Provides meta-data for media files. More...

Import Statement: import QtMultimedia

Methods

Detailed Description

Meta-data is supplementary data describing media. See QMediaMetaData for available meta data attributes.

Method Documentation

void clear()

Removes all data from the MediaMetaData object.


void insert(Key k, variant value)

Inserts a value into a Key: k.


bool isEmpty()

Returns true if the meta data contains no items: otherwise returns false.


list<Key> keys()

Returns a list of MediaMetaData.Keys.


string metaDataKeyToString(Key key)

returns a string representation of key that can be used when presenting meta data to users.


void remove(Key k)

Removes meta data from a Key: k.


string stringValue(Key key)

Returns the meta data for key key as a QString.

This is mainly meant to simplify presenting the meta data to a user.


variant value(Key key)

Returns the meta data value for Key key, or a null QVariant if no meta-data for the key is available.


© 2023 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.