A capture input that provides media from a capture device to a capture session.


AVCaptureDeviceInput is a concrete sub-class of AVCaptureInput you use to capture data from an AVCaptureDevice object.


Creating an Input

init(device: AVCaptureDevice)

Initializes an input to use a specified device.

Accessing the Device

var device: AVCaptureDevice

The device with which the input is associated.


Inherits From

Conforms To

See Also

Session Configuration

class AVCaptureInput

The abstract superclass for objects that provide input data to a capture session.

class AVCaptureOutput

The abstract superclass for objects that output the media recorded in a capture session.

class AVCaptureConnection

A connection between a specific pair of capture input and capture output objects in a capture session.

class AVCaptureAudioChannel

An object that monitors average and peak power levels for an audio channel in a capture connection.