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)
키(Key)에 키-값 쌍( 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.