isPlayingAudio method
Returns whether the webpage is playing audio.
Returns true if the page is playing audio, false otherwise.
This is useful for providing visual feedback when a page is producing sound.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit 2.8+ (Official API - webkit_web_view_is_playing_audio)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> isPlayingAudio() => platform.isPlayingAudio();