Initializer

init(formatDescription:clock:)

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

Declaration

init(formatDescription desc: CMMetadataFormatDescription, clock: CMClock)

Parameters

formatDescription

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

clock

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