onLocalAudioStateChanged method

FutureOr<void> onLocalAudioStateChanged(
  1. Map audioSource,
  2. LocalAudioStreamState state,
  3. LocalAudioStreamError error
)

@detail callback @author zhangyuanyuan.0101 @brief When the state of the local audio stream changes, the callback notifies the current local audio stream state. @param audioSource Reserved parameter @param state The status of the local audio device. See LocalAudioStreamState{@link #LocalAudioStreamState} @param error The error code when the state of the local audio stream changes. See LocalAudioStreamError{@link #LocalAudioStreamError}

Implementation

FutureOr<void> onLocalAudioStateChanged(Map audioSource,
    LocalAudioStreamState state, LocalAudioStreamError error) async {}