Contents

init(device:)

Creates an input for the specified capture device.

Declaration

init(device: AVCaptureDevice) throws

Parameters

  • device:

    A device from which to capture media.