onMicrophoneCaptureStateChanged method

  1. @override
void onMicrophoneCaptureStateChanged(
  1. MediaCaptureState? oldState,
  2. MediaCaptureState? newState
)
override

Event fired when a change in the microphone capture state occurred. Event fired when a change in the microphone capture state occurred.

NOTE for iOS: available only on iOS 15.0+.

NOTE for MacOS: available only on MacOS 12.0+.

Officially Supported Platforms/Implementations:

  • iOS
  • MacOS

Implementation

@override
void onMicrophoneCaptureStateChanged(
    MediaCaptureState? oldState, MediaCaptureState? newState) {}