resume method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebView.onResume', apiUrl: 'https://developer.android.com/reference/android/webkit/WebView#onResume()'), WindowsPlatform(apiName: 'ICoreWebView2_3.Resume', apiUrl: 'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_3?view=webview2-1.0.2792.45#resume')])
Resumes a WebView after a previous call to pause.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.onResume)
- Windows WebView2 (Official API - ICoreWebView2_3.Resume)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebView.onResume',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebView#onResume()',
),
WindowsPlatform(
apiName: 'ICoreWebView2_3.Resume',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_3?view=webview2-1.0.2792.45#resume',
),
],
)
Future<void> resume() {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.resume.name} is not implemented on the current platform',
);
}