Cases that indicate the possible route-sharing policies for an audio session.


enum RouteSharingPolicy : UInt


Enumeration Cases

case `default`

A policy that follows normal rules for routing audio output.

case independent

A policy in which the route picker UI is used to direct videos to a wireless route.

Type Properties

static var longForm: AVAudioSession.RouteSharingPolicy

A policy that routes output to the shared long-form audio output.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software