Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVMutableMetadataItemMBS class.

AVMutableMetadataItemMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor.
Example
dim e as AVAssetExportSessionMBS // your export session
dim asset as AVAssetMBS // your asset

// query metadata
dim a() as AVMetadataItemMBS = asset.metadata

// make new
dim m as new AVMutableMetadataItemMBS

// add common key with author
m.keySpace = AVFoundationMBS.AVMetadataKeySpaceCommon
m.key = AVFoundationMBS.AVMetadataCommonKeyAuthor
m.Value = "Hello World"

// append to array and use as metadata:
a.Append m
e.setMetadata a

See also:

AVMutableMetadataItemMBS.Constructor(other as AVMetadataItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 15.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The copy constructor to initialize with a mutable copy of the given object.

See also:

AVMutableMetadataItemMBS.duration as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the metadata item's duration.

(Read and Write computed property)

AVMutableMetadataItemMBS.extraAttributes as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Provides a dictionary of the metadata item's additional attributes.

(Read and Write computed property)

AVMutableMetadataItemMBS.key as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the metadata item's key.

(Read and Write computed property)

AVMutableMetadataItemMBS.keySpace as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the key space of the metadata item's key.

This is typically the default key space for the metadata container in which the metadata item is stored.
(Read and Write computed property)

AVMutableMetadataItemMBS.locale as NSLocaleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the metadata item's locale.

The locale may be nil if no locale information is available for the item.
(Read and Write computed property)

AVMutableMetadataItemMBS.time as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the metadata item's timestamp.

(Read and Write computed property)

AVMutableMetadataItemMBS.value as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the metadata item's value.

(Read and Write computed property)

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


The biggest plugin in space...