belongs to Maven artifact androidx.webkit:webkit:1.0.0-alpha1

SafeBrowsingResponseCompat

public abstract class SafeBrowsingResponseCompat
extends Object

java.lang.Object
   ↳ androidx.webkit.SafeBrowsingResponseCompat


Compatibility version of SafeBrowsingResponse.

Summary

Public methods

abstract void backToSafety(boolean report)

Act as if the user clicked "back to safety."

abstract void proceed(boolean report)

Act as if the user clicked "visit this unsafe site."

abstract void showInterstitial(boolean allowReporting)

Display the default interstitial.

Inherited methods

Public methods

backToSafety

void backToSafety (boolean report)

Act as if the user clicked "back to safety."

Parameters
report boolean: true to enable Safe Browsing reporting.

proceed

void proceed (boolean report)

Act as if the user clicked "visit this unsafe site."

Parameters
report boolean: true to enable Safe Browsing reporting.

showInterstitial

void showInterstitial (boolean allowReporting)

Display the default interstitial.

Parameters
allowReporting boolean: true if the interstitial should show a reporting checkbox.