public abstract class BaseSiteKeyExtractor extends java.lang.Object implements SiteKeyExtractor
| Modifier and Type | Field and Description |
|---|---|
static int |
RESOURCE_HOLD_MAX_TIME_MS |
protected java.lang.ref.WeakReference<AdblockWebView> |
webViewWeakReference |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseSiteKeyExtractor(AdblockWebView webView) |
| Modifier and Type | Method and Description |
|---|---|
protected org.adblockplus.libadblockplus.sitekey.SiteKeysConfiguration |
getSiteKeysConfiguration()
Returns the site key config that can be used to retrieve
SiteKeyVerifier and verify the site key |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setSiteKeysConfiguration(org.adblockplus.libadblockplus.sitekey.SiteKeysConfiguration siteKeysConfiguration)
This method is called by the
AdblockWebView during
AdblockWebView.setSiteKeysConfiguration(SiteKeysConfiguration)
You can later use siteKeysConfiguration in order to verify the sitekey |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextract, startNewPage, waitForSitekeyCheckpublic static final int RESOURCE_HOLD_MAX_TIME_MS
protected final java.lang.ref.WeakReference<AdblockWebView> webViewWeakReference
protected BaseSiteKeyExtractor(AdblockWebView webView)
protected org.adblockplus.libadblockplus.sitekey.SiteKeysConfiguration getSiteKeysConfiguration()
SiteKeyVerifier and verify the site keypublic void setSiteKeysConfiguration(org.adblockplus.libadblockplus.sitekey.SiteKeysConfiguration siteKeysConfiguration)
SiteKeyExtractorAdblockWebView during
AdblockWebView.setSiteKeysConfiguration(SiteKeysConfiguration)
You can later use siteKeysConfiguration in order to verify the sitekeysetSiteKeysConfiguration in interface SiteKeyExtractorsiteKeysConfiguration - the configuration to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
setEnabled in interface SiteKeyExtractor