Instance Method

initWithFormatDescription:clock:

Creates capture metadata input to provide timed groups to a capture session.

Declaration

- (instancetype)initWithFormatDescription:(CMMetadataFormatDescriptionRef)desc clock:(CMClockRef)clock;

Parameters

formatDescription

A CMFormatDescriptionRef that defines the metadata to be supplied by the client. Throws NSInvalidArgumentException if NULL is passed.

clock

A CMClock that provides the timebase for the supplied samples. Throws NSInvalidArgumentException if NULL is passed.

See Also

Creating Metadata Input

+ metadataInputWithFormatDescription:clock:

Returns a metadata input instance that allows clients to provide timed metadata groups to a capture session.