Enumeration Case

AVAudioSession.RouteChangeReason.oldDeviceUnavailable

A value that indicates that the previous audio output path is no longer available.

Declaration

case oldDeviceUnavailable = 2

See Also

Route Change Reasons

case unknown

A value that indicates the reason for the change is unknown.

case newDeviceAvailable

A value that indicates a user action, such as plugging in a headset, has made a preferred audio route available.

case categoryChange

A value that indicates that the category of the session object changed.

case override

A value that indicates that the output route was overridden by the app.

case wakeFromSleep

A value that indicates that the route changed when the device woke up from sleep.

case noSuitableRouteForCategory

A value that indicates that the route changed because no suitable route is now available for the specified category.

case routeConfigurationChange

A value that indicates that the configuration for a set of I/O ports has changed.