Class

AVTimedMetadataGroup

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

Declaration

class AVTimedMetadataGroup : AVMetadataGroup

Overview

For example, AVTimedMetadataGroups are used to represent chapters, optionally containing metadata items for chapter titles and chapter images.

Topics

Initializing Timed Metadata Group Objects

init(items: [AVMetadataItem], timeRange: CMTimeRange)

Creates a timed metadata group initialized with the given metadata items.

init?(sampleBuffer: CMSampleBuffer)

Creates a timed metadata group with a sample buffer.

Configuring Timed Metadata Group Attributes

func copyFormatDescription() -> CMMetadataFormatDescription?

Creates a format description based on the receiver's items.

var items: [AVMetadataItem]

An array of metadata items in the timed metadata group.

var timeRange: CMTimeRange

The time range for the timed metadata.

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 AVMutableMetadataItem

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

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software