In questa pagina

mediaMetaData QML Value Type

Fornisce metadati per i file multimediali. Altro...

Import Statement: import QtMultimedia

Metodi

Descrizione dettagliata

I metadati sono dati supplementari che descrivono i contenuti multimediali. Per gli attributi dei metadati disponibili, consultare QMediaMetaData.

Documentazione del metodo

void clear()

Rimuove tutti i dati dall'oggetto MediaMetaData.

void insert(Key k, variant value)

Inserisce un oggetto di tipo " value " in una chiave: k.

bool isEmpty()

Restituisce ` true ` se i metadati non contengono elementi; in caso contrario, restituisce ` false`.

list<Key> keys()

Restituisce un elenco di MediaMetaData.Keys.

string metaDataKeyToString(Key key)

restituisce una rappresentazione stringa di key che può essere utilizzata per presentare i metadati agli utenti.

void remove(Key k)

Rimuove i metadati da una chiave: k.

string stringValue(Key key)

Restituisce i metadati relativi alla chiave key sotto forma di QString.

Ciò serve principalmente a semplificare la presentazione dei metadati all'utente.

variant value(Key key)

Restituisce il valore dei metadati corrispondente alla chiave key oppure un valore nullo QVariant se non sono disponibili metadati per la chiave.

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