AVAudioSessionRouteChangeReason enum Null safety

The route change reasons for AVAudioSession.

Implemented types

Constants

categoryChange → const AVAudioSessionRouteChangeReason
const AVAudioSessionRouteChangeReason(3)
newDeviceAvailable → const AVAudioSessionRouteChangeReason
const AVAudioSessionRouteChangeReason(1)
noSuitableRouteForCategory → const AVAudioSessionRouteChangeReason
const AVAudioSessionRouteChangeReason(6)
oldDeviceUnavailable → const AVAudioSessionRouteChangeReason
const AVAudioSessionRouteChangeReason(2)
override → const AVAudioSessionRouteChangeReason
const AVAudioSessionRouteChangeReason(4)
routeConfigurationChange → const AVAudioSessionRouteChangeReason
const AVAudioSessionRouteChangeReason(7)
unknown → const AVAudioSessionRouteChangeReason
const AVAudioSessionRouteChangeReason(0)
values → const List<AVAudioSessionRouteChangeReason>

A constant List of the values in this enum, in order of their declaration.

const List<AVAudioSessionRouteChangeReason>
wakeFromSleep → const AVAudioSessionRouteChangeReason
const AVAudioSessionRouteChangeReason(5)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited