androidOnSafeBrowsingHit method
- @SupportedPlatforms.new(platforms: [AndroidPlatform()])
- @Deprecated("Use onSafeBrowsingHit instead")
- Uri url,
- SafeBrowsingThreat? threatType
Use onSafeBrowsingHit instead.
Officially Supported Platforms/Implementations:
- Android WebView
Parameters - Officially Supported Platforms/Implementations:
url: all platformsthreatType: all platforms
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated("Use onSafeBrowsingHit instead")
FutureOr<SafeBrowsingResponse?>? androidOnSafeBrowsingHit(
Uri url,
SafeBrowsingThreat? threatType,
) {
return null;
}