AVCaptureDeviceInputSource Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AVFoundation.framework
Availability
Available in OS X v10.7 and later.
Declared in
AVCaptureDevice.h

Overview

An AVCaptureDeviceInputSource object represents a distinct input source on an AVCaptureDevice object.

An AVCaptureDevice object may optionally present an array of input sources, representing distinct mutually exclusive inputs to the device. For example, an audio capture device might have ADAT optical and analog input sources; a video capture device might have an HDMI input source, or a component input source.

Tasks

Accessing Properties

Properties

inputSourceID

The input source ID. (read-only)

@property(nonatomic, readonly) NSString *inputSourceID
Discussion

The ID is unique among the input sources exposed by a given AVCaptureDevice object.

Availability
  • Available in OS X v10.7 and later.
Declared In
AVCaptureDevice.h

localizedName

A localized, human-readable, name for the input source. (read-only)

@property(nonatomic, readonly) NSString *localizedName
Discussion

You can use this property to display the name of the capture device input source in a user interface.

Availability
  • Available in OS X v10.7 and later.
Declared In
AVCaptureDevice.h