isAudioMuted method

  1. @SupportedPlatforms(platforms: [AndroidPlatform(apiName: 'WebViewCompat.isAudioMuted', apiUrl: 'https://developer.android.com/reference/androidx/webkit/WebViewCompat#isAudioMuted(android.webkit.WebView)', note: 'Available only if [WebViewFeature.MUTE_AUDIO] is supported.'), IOSPlatform(available: '15.0'), MacOSPlatform(available: '12.0')])
Future<bool> isAudioMuted()

Returns whether this WebView is muted.

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'WebViewCompat.isAudioMuted',
      apiUrl:
          'https://developer.android.com/reference/androidx/webkit/WebViewCompat#isAudioMuted(android.webkit.WebView)',
      note:
          'Available only if [WebViewFeature.MUTE_AUDIO] is supported.',
    ),
    IOSPlatform(available: '15.0'),
    MacOSPlatform(available: '12.0'),
  ],
)
Future<bool> isAudioMuted() {
  throw UnimplementedError(
    '${PlatformInAppWebViewControllerMethod.isAudioMuted.name} is not implemented on the current platform',
  );
}