Type Property

longForm

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

Declaration

static var longForm: AVAudioSession.RouteSharingPolicy { get }

Discussion

A session whose primary use case is as a music or podcast player may use this value to play to the same output as the Music and Podcasts apps. All applications on the system that use this policy have their audio routed to the same location.

See Also

Route-Sharing Policies

case `default`

A policy that follows standard rules for routing audio output.

case longFormAudio

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

case longFormVideo

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

case independent

A policy in which the route picker UI directs videos to a wireless route.