AudioRouteChangeInfo
Describes an audio route change event, such as headphones being plugged in or disconnected, or a Bluetooth device connecting.
Route changes can affect audio playback and recording. For example, when headphones are unplugged, audio output typically switches to the built-in speaker, which may require the application to pause playback or adjust volume.
Platform Behavior
Android: Route changes are reported via
AudioDeviceCallback.Apple: Route changes are reported via
AVAudioSession.routeChangeNotification.