AVAudioSessionRouteDescription Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AVFoundation.framework
Availability
Available in iOS 6.0 and later.
Declared in
AVAudioSession.h
Related sample code

Overview

An AVAudioSessionRouteDescription manages the input and output ports associated with the current audio route for a session.

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

Tasks

Getting the Input and Output Ports

Properties

inputs

An array of audio input port descriptions. (read-only)

@property(readonly) NSArray *inputs
Discussion

This property contains an array of AVAudioSessionPortDescription objects representing the audio inputs associated with the current audio route for a session.

Availability
  • Available in iOS 6.0 and later.
Declared In
AVAudioSession.h

outputs

An array of audio output port descriptions. (read-only)

@property(readonly) NSArray *outputs
Discussion

This property contains an array of AVAudioSessionPortDescription objects representing the audio outputs associated with the current audio route for a session.

Availability
  • Available in iOS 6.0 and later.
Declared In
AVAudioSession.h