Mac Developer Library

Developer

AVFoundation Framework Reference AVCaptureDeviceInputSource Class Reference

Options
Deployment Target:

On This Page
Language:

AVCaptureDeviceInputSource

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

Inheritance


Conforms To


Import Statement


import AVFoundation @import AVFoundation;

Availability


Available in OS X v10.7 and later.
  • The input source ID. (read-only)

    Declaration

    Swift

    var inputSourceID: String! { get }

    Objective-C

    @property(nonatomic, readonly) NSString *inputSourceID

    Discussion

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

    Import Statement

    import AVFoundation

    Availability

    Available in OS X v10.7 and later.

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

    Declaration

    Swift

    var localizedName: String! { get }

    Objective-C

    @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.

    Import Statement

    import AVFoundation

    Availability

    Available in OS X v10.7 and later.