androidOnSafeBrowsingHit property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform()])
  2. @Deprecated("Use onSafeBrowsingHit instead")
FutureOr<SafeBrowsingResponse?> Function(T controller, Uri url, SafeBrowsingThreat? threatType)? androidOnSafeBrowsingHit
final

Use onSafeBrowsingHit instead.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • threatType: all platforms

Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated("Use onSafeBrowsingHit instead")
final FutureOr<SafeBrowsingResponse?> Function(
  T controller,
  Uri url,
  SafeBrowsingThreat? threatType,
)?
androidOnSafeBrowsingHit;