Instance Property


The system-assigned identifier for the data source.


var dataSourceID: NSNumber { get }


You can use the value of this property to assign a specific data source to some input or output within an audio session.

See Also

Getting Data Source Information

var dataSourceName: String

A human-readable name for the data source.

var location: AVAudioSession.Location?

The location of the data source on the device.

var orientation: AVAudioSession.Orientation?

The orientation of the data source relative to the device’s natural orientation.