isPlayingAudio method

Future<bool> isPlayingAudio()

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:

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

Implementation

Future<bool> isPlayingAudio() => platform.isPlayingAudio();