mediaMetaData QML Value Type

미디어 파일에 대한 메타데이터를 제공합니다. 더 보기...

Import Statement: import QtMultimedia

메소드

상세 설명

메타데이터는 미디어를 설명하는 보조 데이터입니다. 사용 가능한 메타 데이터 속성은 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 을 반환합니다.


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