A capture input that provides media from a capture device to a capture session.
On This Page
AVCaptureDeviceInput is a concrete sub-class of AVCaptureInput you use to capture data from an AVCaptureDevice object.
Initializes an input to use a specified device.
var device: AVCaptureDevice
The device with which the input is associated.
var unifiedAutoExposureDefaultsEnabled: Bool
A Boolean indicating whether auto-exposure defaults are unified.
Select the front or back camera, or use advanced features like the TrueDepth camera or dual camera.
A device that provides input (such as audio or video) for capture sessions and offers controls for hardware-specific capture features.