Instance Method

initWithItems:timeRange:

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

Declaration

- (instancetype)initWithItems:(NSArray<AVMetadataItem *> *)items timeRange:(CMTimeRange)timeRange;

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

- initWithSampleBuffer:

Creates a timed metadata group with a sample buffer.