AVCaptureInputPort 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
An AVCaptureInputPort represents a stream of data from a capture input.
Instances of AVCaptureInput have one or more input ports, one for each data stream they can produce. For example, an AVCaptureDeviceInput presenting one video data stream has one port.
Properties
enabled
Indicates whether the port is enabled.
@property(nonatomic, getter=isEnabled) BOOL enabled
Availability
- Available in iOS 4.0 and later.
Declared In
AVCaptureInput.hformatDescription
A description of the port format. (read-only)
@property(nonatomic, readonly) CMFormatDescriptionRef formatDescription
Discussion
Availability
- Available in iOS 4.0 and later.
Declared In
AVCaptureInput.hinput
The port’s input. (read-only)
@property(nonatomic, readonly) AVCaptureInput *input
Discussion
Availability
- Available in iOS 4.0 and later.
Declared In
AVCaptureInput.hmediaType
The port’s media type. (read-only)
@property(nonatomic, readonly) NSString *mediaType
Discussion
Availability
- Available in iOS 4.0 and later.
Declared In
AVCaptureInput.hNotifications
AVCaptureInputPortFormatDescriptionDidChangeNotification
Posted if the
formatDescription of the capture input 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)