onMicrophoneCaptureStateChanged method

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

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

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