An array of available data sources for the audio session’s current input port.
- iOS 6.0+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
An array of
AVAudio objects representing available input sources, or
nil if switching between multiple input sources is not currently possible. This feature is supported only on certain devices and peripherals–for example, on an iPhone equipped with both front- and rear-facing microphones.
You can observe changes to the value of this property by using Key-value observing.