onSaveAsUIShowing method
- @SupportedPlatforms.new(platforms: [WindowsPlatform(apiName: 'ICoreWebView2_25.add_SaveAsUIShowing', apiUrl: 'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_25?view=webview2-1.0.2849.39#add_saveasuishowing')])
- SaveAsUIShowingRequest request
Event fired when Save As UI is showing.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - ICoreWebView2_25.add_SaveAsUIShowing)
Parameters - Officially Supported Platforms/Implementations:
request: all platforms
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
WindowsPlatform(
apiName: 'ICoreWebView2_25.add_SaveAsUIShowing',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_25?view=webview2-1.0.2849.39#add_saveasuishowing',
),
],
)
FutureOr<SaveAsUIShowingResponse?>? onSaveAsUIShowing(
SaveAsUIShowingRequest request,
) {
return null;
}