---
title: AVCaptureDevice.InputSource
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avcapturedevice/inputsource
---

# AVCaptureDevice.InputSource

A distinct input source on a capture device.

## Declaration

```swift
class InputSource
```

## Overview

Overview A capture device may optionally present an array of input sources that represent 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 or component input source.

## Topics

### Accessing properties

- [inputSourceID](avfoundation/avcapturedevice/inputsource/inputsourceid.md)
- [localizedName](avfoundation/avcapturedevice/inputsource/localizedname.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Configuring input sources

- [inputSources](avfoundation/avcapturedevice/inputsources.md)
- [activeInputSource](avfoundation/avcapturedevice/activeinputsource.md)
