mediaMetaData QML Value Type
Proporciona metadatos para archivos multimedia. Más...
| Import Statement: | import QtMultimedia |
Métodos
- 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)
Descripción detallada
Los metadatos son datos complementarios que describen los contenidos multimedia. Consulte QMediaMetaData para ver los atributos de metadatos disponibles.
Documentación del método
void clear()
Elimina todos los datos del objeto MediaMetaData.
void insert(Key k, variant value)
Inserta un « value » en una clave: k.
bool isEmpty()
Devuelve « true » si los metadatos no contienen ningún elemento; en caso contrario, devuelve « false ».
list<Key> keys()
Devuelve una lista de MediaMetaData.Keys.
string metaDataKeyToString(Key key)
Devuelve una representación en forma de cadena de « key » que se puede utilizar a la hora de mostrar metadatos a los usuarios.
void remove(Key k)
Elimina los metadatos de una clave: k.
string stringValue(Key key)
Devuelve los metadatos correspondientes a la clave « key » en formato « QString ».
Esto tiene como objetivo principal simplificar la presentación de los metadatos al usuario.
variant value(Key key)
Devuelve el valor de los metadatos correspondientes a la clave « key », o un valor nulo « QVariant » si no hay metadatos disponibles para dicha clave.
© 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.