Instance Property

channels

An array of channel objects that describe the port’s input or output channels.

Declaration

var channels: [AVAudioSessionChannelDescription]? { get }

Discussion

The contents of this array may change if the audio session’s input or output channel count changes.

See Also

Getting the Port Attributes

var portName: String

A descriptive name for the port.

struct AVAudioSession.Port

A structure that defines the available input and output port types.

class AVAudioSessionChannelDescription

A class that describes a hardware channel on the current device.

var uid: String

A system-assigned unique identifier (UID) for the port.

var hasHardwareVoiceCallProcessing: Bool

A Boolean value that indicates whether the associated hardware port has built-in processing for two-way voice communication.