Class

AVMutableMetadataItem

A mutable metadata item associated with an audiovisual asset or with one of its tracks.

Declaration

class AVMutableMetadataItem : AVMetadataItem

Overview

You can initialize a mutable metadata item from an existing AVMetadataItem object or with a one or more of the basic properties of a metadata item: a key, a key space, a locale, and a value.

Topics

Configuring Keys and Key Spaces

var key: (NSCopying & NSObjectProtocol)?

The key for a mutable metadata item.

var keySpace: AVMetadataKeySpace?

The key space of the metadata item’s key.

struct AVMetadataKeySpace

A value that defines a metadata key space.

Configuring Metadata Values

var value: (NSCopying & NSObjectProtocol)?

The value for the mutable metadata item.

var locale: Locale?

The locale for a mutable metadata item.

var time: CMTime

The timestamp for a mutable metadata item.

var duration: CMTime

The duration of a mutable metadata item.

var extraAttributes: [AVMetadataExtraAttributeKey : Any]?

A dictionary containing the metadata item’s additional attributes.

struct AVMetadataExtraAttributeKey

A value that defines extra attribute keys.

var dataType: String?

The data type of the metadata item's value.

var extendedLanguageTag: String?

The IETF BCP 47 (RFC 4646) language identifier of the metadata item.

var identifier: AVMetadataIdentifier?

Indicates the identifier of the metadata item.

struct AVMetadataIdentifier

A value that defines the metadata identifiers for different file formats.

var startDate: Date?

The start date of the timed metadata.

Relationships

Inherits From

Conforms To

See Also

Metadata Manipulation

Finding Metadata Values

Retrieve and filter all of the metadata associated with an asset.

JavaScript Object Notation (JSON) Chapter Format for HTTP Live Streaming

Understand the JSON chapter formatting required for HTTP Live Streaming.

class AVMetadataItem

A metadata item associated with an audiovisual asset or one of its tracks.

class AVMetadataGroup

A collection of metadata items associated with a timeline segment.

class AVMetadataItemFilter

An object that filters selected information from a metadata item.

class AVMetadataItemValueRequest

An object used to respond to a request to load the value of a metadata item.

class AVDateRangeMetadataGroup

A collection of metadata items that are valid for use within a specific date range.

class AVMutableDateRangeMetadataGroup

A mutable collection of metadata items that are valid for use within a specific range of dates.

class AVTimedMetadataGroup

A collection of metadata items that are valid for use during a specific time range.

class AVMutableTimedMetadataGroup

A mutable collection of metadata items that are valid for use during a specific time range.

struct AVMetadataFormat

A value that defines a metadata format.