Initializer

init(items:timeRange:)

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

Declaration

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

Parameters

items

An array of AVMetadataItem objects.

timeRange

The time range of the metadata contained in items.

Return Value

A metadata group initialized with items.

See Also

Initializing Timed Metadata Group Objects

init?(sampleBuffer: CMSampleBuffer)

Creates a timed metadata group with a sample buffer.