onDownloadStart method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform()])
  2. @Deprecated('Use onDownloadStarting instead')
void onDownloadStart(
  1. Uri url
)

Use onDownloadStarting instead

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

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

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform()])
@Deprecated('Use onDownloadStarting instead')
void onDownloadStart(Uri url) {}