onLocalAudioStateChanged property
FutureOr<void> Function(dynamic audioSource, LocalAudioStreamState state, LocalAudioStreamError error)?
onLocalAudioStateChanged
getter/setter pair
@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> Function(dynamic audioSource, LocalAudioStreamState state,
LocalAudioStreamError error)? onLocalAudioStateChanged;