mediaMetaData QML Value Type

为媒体文件提供元数据。 更多...

导入语句: import QtMultimedia

方法

详细描述

Meta-data is supplementary data describing media. See QMediaMetaData for available meta data attributes.

方法文档编制

void clear ()

Removes all data from the MediaMetaData object.


void insert ( Key k , variant value )

插入 value 进键: k .


bool isEmpty ()

返回 true 若元数据不包含项:否则返回 false .


list < Key > keys ()

Returns a list of 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 if no meta-data for the key is available.