AVCaptureInput Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AVFoundation.framework |
| Availability | Available in iOS 4.0 and later. |
| Declared in | AVCaptureInput.h |
Overview
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.
Properties
ports
The capture input’s ports. (read-only)
@property(nonatomic, readonly) NSArray *ports
Discussion
The array contains one or more instances of AVCaptureInputPort.
Each individual AVCaptureInputPort instance posts an AVCaptureInputPortFormatDescriptionDidChangeNotification when the formatDescription of that port changes.
Availability
- Available in iOS 4.0 and later.
Declared In
AVCaptureInput.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-12-13)