Type Method

metadataInputWithFormatDescription:clock:

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

Declaration

+ (instancetype)metadataInputWithFormatDescription:(CMMetadataFormatDescriptionRef)desc clock:(CMClockRef)clock;

Parameters

desc

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

clock

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

See Also

Creating Metadata Input

- initWithFormatDescription:clock:

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