onMicrophoneCaptureStateChanged method
- @SupportedPlatforms.new(platforms: [IOSPlatform(available: '15.0'), MacOSPlatform(available: '12.0')])
- MediaCaptureState? oldState,
- MediaCaptureState? newState
Event fired when a change in the microphone capture state occurred.
Officially Supported Platforms/Implementations:
- iOS WKWebView 15.0+
- macOS WKWebView 12.0+
Parameters - Officially Supported Platforms/Implementations:
oldState: all platformsnewState: all platforms
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
IOSPlatform(available: '15.0'),
MacOSPlatform(available: '12.0'),
],
)
void onMicrophoneCaptureStateChanged(
MediaCaptureState? oldState,
MediaCaptureState? newState,
) {}