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 built-in Music (iOS), Podcasts, or iTunes (macOS) applications. All applications on the system that use this policy will have their audio routed to the same location.

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