closeAllMediaPresentations method
{@template flutter_webview_platform_interface.PlatformInAppWebViewController.closeAllMediaPresentations} Closes all media the web view is presenting, including picture-in-picture video and fullscreen video.
NOTE for iOS: available on iOS 14.5+.
NOTE for MacOS: available on MacOS 11.3+.
Officially Supported Platforms/Implementations:
- iOS (Official API - WKWebView.closeAllMediaPresentations)
- MacOS (Official API - WKWebView.closeAllMediaPresentations) @{endtemplate}
Implementation
Future<void> closeAllMediaPresentations() {
throw UnimplementedError(
'closeAllMediaPresentations is not implemented on the current platform');
}