| Interface | Description |
|---|---|
| AdblockWebView.EventsListener |
Listener for ad blocking related events.
|
| SiteKeyExtractor |
Extracts a Site Key from an
AdblockWebView's internals and verifies the Site Key
What is expected from this class:
Extract the Site Key from all available resources from AdblockWebView
Use SiteKeyVerifier to verify it
An instance of SiteKeyVerifier is set to
`siteKeysConfiguration` property
AdblockWebView accepts the extractor
by calling AdblockWebView.setSiteKeyExtractor(SiteKeyExtractor)
For example, custom HTTP request can be made and resulting HTTP headers can be used to
extract the Site Key from the header
Or Site Key might be extracted from html root tag by injecting
javascript into AdblockWebView and using JS handler to get the key back to WebView |
| WebViewCounters.EventsListener |
Listener for changing events.
|
| Class | Description |
|---|---|
| AdblockWebView |
WebView with ad blocking
|
| AdblockWebView.EventsListener.AllowlistedResourceInfo |
Immutable data-class containing an auxiliary information about allowlisted resource.
|
| AdblockWebView.EventsListener.BlockedResourceInfo |
Immutable data-class containing an auxiliary information about blocked resource.
|
| AdblockWebView.EventsListener.ResourceInfo |
Immutable data-class containing an auxiliary information about resource event.
|
| AdblockWebView.WebResponseResult | |
| BaseSiteKeyExtractor | |
| CombinedSiteKeyExtractor |
Decides what extractor has to be used by analyzing the data
that
AdblockWebView has. |
| HttpHeaderSiteKeyExtractor |
Makes a custom HTTP request and then does the Site Key verification by calling
SiteKeyVerifier.verifyInHeaders(String, Map, Map) |
| HttpHeaderSiteKeyExtractor.ResourceInfo | |
| HttpHeaderSiteKeyExtractor.ServerResponseProcessor | |
| WebViewCounters |
A class for ad blocking counters, such as a counter of blocked resources, of a particular
instance of WebView.
|
| Enum | Description |
|---|---|
| AdblockWebView.EventsListener.AllowlistReason |
Allowlisting reason:
|
| AdblockWebView.OptionalBoolean |
Optional boolean value.
|