Package apple.avfoundation.enums
Class AVAudioSessionRouteChangeReason
- java.lang.Object
-
- apple.avfoundation.enums.AVAudioSessionRouteChangeReason
-
public final class AVAudioSessionRouteChangeReason extends java.lang.ObjectValues for AVAudioSessionRouteChangeReasonKey in AVAudioSessionRouteChangeNotification's userInfo dictionary
-
-
Field Summary
Fields Modifier and Type Field Description static longCategoryChangeThe audio category has changed (e.g.static longNewDeviceAvailableA new device became available (e.g. headphones have been plugged in).static longNoSuitableRouteForCategoryReturned when there is no route for the current category (for instance, the category is AVAudioSessionCategoryRecord but no input device is available).static longOldDeviceUnavailableThe old device became unavailable (e.g. headphones have been unplugged).static longOverrideThe route has been overridden (e.g. category is AVAudioSessionCategoryPlayAndRecord and the output has been changed from the receiver, which is the default, to the speaker).static longRouteConfigurationChangeIndicates that the set of input and/our output ports has not changed, but some aspect of their configuration has changed.static longUnknownThe reason is unknown.static longWakeFromSleepThe device woke from sleep.
-
-
-
Field Detail
-
Unknown
public static final long Unknown
The reason is unknown.- See Also:
- Constant Field Values
-
NewDeviceAvailable
public static final long NewDeviceAvailable
A new device became available (e.g. headphones have been plugged in).- See Also:
- Constant Field Values
-
OldDeviceUnavailable
public static final long OldDeviceUnavailable
The old device became unavailable (e.g. headphones have been unplugged).- See Also:
- Constant Field Values
-
CategoryChange
public static final long CategoryChange
The audio category has changed (e.g. AVAudioSessionCategoryPlayback has been changed to AVAudioSessionCategoryPlayAndRecord).- See Also:
- Constant Field Values
-
Override
public static final long Override
The route has been overridden (e.g. category is AVAudioSessionCategoryPlayAndRecord and the output has been changed from the receiver, which is the default, to the speaker).- See Also:
- Constant Field Values
-
WakeFromSleep
public static final long WakeFromSleep
The device woke from sleep.- See Also:
- Constant Field Values
-
NoSuitableRouteForCategory
public static final long NoSuitableRouteForCategory
Returned when there is no route for the current category (for instance, the category is AVAudioSessionCategoryRecord but no input device is available).- See Also:
- Constant Field Values
-
RouteConfigurationChange
public static final long RouteConfigurationChange
Indicates that the set of input and/our output ports has not changed, but some aspect of their configuration has changed. For example, a port's selected data source has changed. (Introduced in iOS 7.0, watchOS 2.0, tvOS 9.0).- See Also:
- Constant Field Values
-
-