onAudioRoutingChanged property

void Function(int routing)? onAudioRoutingChanged
final

Occurs when the local audio route changes. This method is for Android, iOS and macOS only.

  • routing The current audio routing. See AudioRoute .

Implementation

final void Function(int routing)? onAudioRoutingChanged;