mediaMetaData QML Value Type
メディアファイルのメタデータを提供する。詳細...
| Import Statement: | import QtMultimedia |
メソッド
- void clear()
- void insert(Key k, variant value)
- bool isEmpty()
- list<Key> keys()
- string metaDataKeyToString(Key key)
- void remove(Key k)
- string stringValue(Key key)
- variant value(Key key)
詳細説明
メタデータはメディアを記述する補足データである。利用可能なメタデータ属性についてはQMediaMetaData を参照。
メソッド・ドキュメント
void clear()
MediaMetaDataオブジェクトからすべてのデータを削除する。
void insert(Key k, variant value)
value をキーに挿入:k.
bool isEmpty()
メタデータに項目がない場合はtrue を返す。そうでない場合はfalse を返す。
list<Key> keys()
MediaMetaData.Keysのリストを返します。
string metaDataKeyToString(Key key)
ユーザーにメタデータを提示する際に使用できる、key の文字列表現を返します。
void remove(Key k)
キーからメタデータを削除する:k.
string stringValue(Key key)
キーkey のメタデータをQString として返す。
これは主に、ユーザーへのメタデータの提示を簡単にするためのものである。
variant value(Key key)
キーkey のメタデータ値、またはキーのメタデータがない場合は nullQVariant を返します。
© 2026 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.