Type Alias

AVAudioSessionPort

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

Declaration

typedef NSString *AVAudioSessionPort;

Topics

Constants

AVAudioSessionPortHDMI

Output to a device using the High-Definition Multimedia Interface (HDMI) specification.

AVAudioSessionPortAirPlay

Output to a remote device over AirPlay.

AVAudioSessionPortBluetoothA2DP

Output to a Bluetooth A2DP device.

AVAudioSessionPortBluetoothHFP

Input or output on a Bluetooth Hands-Free Profile device.

AVAudioSessionPortBluetoothLE

Output to a Bluetooth Low Energy (LE) peripheral.

AVAudioSessionPortBuiltInMic

The built-in microphone on a device.

AVAudioSessionPortBuiltInReceiver

The speaker you hold to your ear when you’re on a phone call.

AVAudioSessionPortBuiltInSpeaker

Output to the device’s built-in speaker.

AVAudioSessionPortCarAudio

Input or output through Car Audio.

AVAudioSessionPortHeadphones

Output to wired headphones.

AVAudioSessionPortHeadsetMic

A wired headset’s built-in microphone.

AVAudioSessionPortLineIn

Line-level input from the dock connector.

AVAudioSessionPortLineOut

Line-level output to the dock connector.

AVAudioSessionPortUSBAudio

Input or output on a Universal Serial Bus device.

See Also

Getting the Port Attributes

portName

A descriptive name for the port.

portType

The type of the port.

channels

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

AVAudioSessionChannelDescription

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

UID

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

hasHardwareVoiceCallProcessing

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