Instance Property


The location of the data source on the device.


var location: AVAudioSession.Location? { get }


If nil, the data source’s location is not known.

See Data Source Locations for possible values.

See Also

Getting Data Source Information

var dataSourceID: NSNumber

The system-assigned identifier for the data source.

var dataSourceName: String

A human-readable name for the data source.

var orientation: AVAudioSession.Orientation?

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