Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

QTKitMetadataItemMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class QTKit MBS QTKit Plugin 11.2 Yes No No Yes, macOS only No
Function: QTMetadataItem represents an item of metadata associated with a QTKitMovieMBS or QTKitTrackMBS object.
Example:
// Show all metadata in the fiel:
dim file as FolderItem = SpecialFolder.Desktop.Child("test.mp3")
dim m as new QTKitMovieMBS(file)

// get formats available?
dim formats() as string = m.availableMetadataFormats

for each format as string in formats

// lookup all values for this format
dim metadatas() as QTKitMetadataItemMBS = m.metadataForFormat(Format)

// and display
for each md as QTKitMetadataItemMBS in metadatas
MsgBox format+": "+md.key+": "+md.stringValue
next

next
Notes:
Please also check the documentation from Apple for the QTKitMetadataItem class.
Available on Mac OS X 10.7.

QTMetadataItem objects have keys that accord with the specification of the container format from which they're drawn.

You can filter arrays of QTMetadataItem objects by locale or by key and keyspace via the metadataItemsFromArray* methods.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS QTKit Plugin.


QTKitMediaMBS   -   QTKitMovieMBS




Links
MBS FileMaker blog