A route description manages the input and output ports associated with the current audio route for a session.


class AVAudioSessionRouteDescription : NSObject


You do not create instances of this class yourself. Instead, you retrieve the current audio route from your app’s AVAudioSession object.


Getting the Input and Output Ports

var inputs: [AVAudioSessionPortDescription]

An array of audio input port descriptions.

var outputs: [AVAudioSessionPortDescription]

An array of audio output port descriptions.


Inherits From

Conforms To

See Also

Supporting Types

class AVAudioSessionChannelDescription

A channel description provides descriptive information about a hardware channel on the current device.

class AVAudioSessionDataSourceDescription

A description that defines a data source for an audio input or output, giving information such as the source’s name, location and orientation.

class AVAudioSessionPortDescription

Information about the capabilities of the port and the hardware channels it supports.