isAudioMuted method
Returns whether this WebView is muted.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebViewCompat.isAudioMuted):
- Available only if WebViewFeature.MUTE_AUDIO is supported.
- iOS WKWebView 15.0+
- macOS WKWebView 12.0+
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> isAudioMuted() => platform.isAudioMuted();