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 」に対応するメタデータ値を返します。そのキーに対応するメタデータが存在しない場合は、null値「QVariant 」を返します。
© 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.