onCompletedInitialLoad method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(apiName: 'SFSafariViewControllerDelegate.safariViewController', apiUrl: 'https://developer.apple.com/documentation/safariservices/sfsafariviewcontrollerdelegate/1621215-safariviewcontroller')])
- @SupportedPlatforms.new(platforms: [IOSPlatform()]) bool? didLoadSuccessfully
Event fired when the initial URL load is complete.
didLoadSuccessfully - true if loading completed successfully; otherwise, false.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView (Official API - SFSafariViewControllerDelegate.safariViewController)
Parameters - Officially Supported Platforms/Implementations:
didLoadSuccessfully:- iOS WKWebView
Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(),
IOSPlatform(
apiName: 'SFSafariViewControllerDelegate.safariViewController',
apiUrl:
'https://developer.apple.com/documentation/safariservices/sfsafariviewcontrollerdelegate/1621215-safariviewcontroller',
),
],
)
void onCompletedInitialLoad(
@SupportedPlatforms(platforms: [IOSPlatform()]) bool? didLoadSuccessfully,
) {}