AudioSessionRouteChangeReason Enum

Definition

The reason for AudioSession route change event to be raised.

public enum AudioSessionRouteChangeReason
type AudioSessionRouteChangeReason = 
Inheritance
AudioSessionRouteChangeReason

Fields

Name Value Description
Unknown 0

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

NewDeviceAvailable 1

A new audio device has been plugged.

OldDeviceUnavailable 2

The previous device is no longer available.

CategoryChange 3

The AudioSession category has changed.

Override 4

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

WakeFromSleep 6

Device has woken up from sleep

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.

RouteConfigurationChange 8

Applies to