iOS Developer Library

Developer

AVFoundation Framework Reference AVCaptureInput Class Reference

Options
Deployment Target:

On This Page
Language:

AVCaptureInput

Inherits From


Conforms To


Import Statement


Swift

import AVFoundation

Objective-C

@import AVFoundation;

Availability


Available in iOS 4.0 and later

AVCaptureInput is an abstract base-class describing an input data source to an AVCaptureSession object.

To associate an AVCaptureInput object with a session, call addInput: on the session.

AVCaptureInput objects have one or more ports (instances of AVCaptureInputPort), one for each data stream they can produce. For example, an AVCaptureDevice object presenting one video data stream has one port.