---
title: routeSharingPolicy
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudiosession/routesharingpolicy-swift.property
---

# routeSharingPolicy

The active route-sharing policy.

## Declaration

```swift
var routeSharingPolicy: AVAudioSession.RouteSharingPolicy { get }
```

## Discussion

Discussion Use this value to indicate that the system should route this app’s audio somewhere other than the default system output when other suitable alternative routes exist.

## See Also

### Inspecting the route sharing policy

- [AVAudioSession.RouteSharingPolicy](avfaudio/avaudiosession/routesharingpolicy-swift.enum.md)
