mediaMetaData QML Value Type

メディアファイルのメタデータを提供する。詳細...

Import Statement: import QtMultimedia

メソッド

詳細説明

メタデータはメディアを記述する補足データである。利用可能なメタデータ属性についてはQMediaMetaData を参照。

メソッド ドキュメント

void clear()

MediaMetaDataオブジェクトからすべてのデータを削除します。


void insert(Key k, variant value)

value を Key に挿入します:k


bool isEmpty()

メタデータに項目がない場合はtrue を返します:そうでない場合はfalse を返します。


list<Key> keys()

MediaMetaData.Keyのリストを返します。


string metaDataKeyToString(Key key)

は、ユーザーにメタ データを提示するときに使用できる、key の文字列表現を返します。


void remove(Key k)

キーからメタデータを削除する:k


string stringValue(Key key)

キーkey のメタデータをQString として返す。

これは主に、ユーザーにメタデータを提示しやすくするためのものである。


variant value(Key key)

キーkey のメタ・データ値、またはキーのメタ・データがない場合は nullQVariant を返します。


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