AudioSessionRouteChangeReason Enum

Definition

The reason for AudioSession route change event to be raised.

public enum AudioSessionRouteChangeReason
type AudioSessionRouteChangeReason = 
Inheritance
AudioSessionRouteChangeReason

Fields

CategoryChange 3

The AudioSession category has changed.

NewDeviceAvailable 1

A new audio device has been plugged.

NoSuitableRouteForCategory 7

There is no audio device for the current set category in the audio session. For example, recording when there is no microphone available.

OldDeviceUnavailable 2

The previous device is no longer available.

Override 4

Audio has been forcibly been redirected by the user setting the AudioSession Category.

RouteConfigurationChange 8
Unknown 0

The route changed, but there is no information about why.

WakeFromSleep 6

Device has woken up from sleep

Applies to