<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioSession/RouteSharingPolicy-swift.enum/longFormAudio",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@E@AVAudioSessionRouteSharingPolicy@AVAudioSessionRouteSharingPolicyLongFormAudio"
  },
  "title" : "AVAudioSession.RouteSharingPolicy.longFormAudio"
}
-->

# AVAudioSession.RouteSharingPolicy.longFormAudio

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

```
case longFormAudio
```

## Discussion

Apps that play long-form audio, such as music or audio books, can use this policy to play to the same output as the built-in Music and Podcast apps. Long-form audio apps should also use the <doc://com.apple.documentation/documentation/MediaPlayer> framework to add support for remote control events and to provide Now Playing information.

Apps running in watchOS that use this policy are able to play audio in the background, as long as the audio session can activate an eligible audio route. These apps must activate their audio session using the [`activate(options:completionHandler:)`](/documentation/AVFAudio/AVAudioSession/activate(options:completionHandler:)) method. This ensures that the user has the opportunity to pick an appropriate audio route when the audio session can’t select one automatically.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)