Contents

routeSharingPolicy

The active route-sharing policy.

Declaration

var routeSharingPolicy: AVAudioSession.RouteSharingPolicy { get }

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