Instance Property


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


var orientation: AVAudioSession.Orientation? { get }


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

See Data Source Orientations 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 location: AVAudioSession.Location?

The location of the data source on the device.