Interface WebViewCounters.EventsListener
- Enclosing class:
- WebViewCounters
public static interface WebViewCounters.EventsListener
Listener for changing events.
-
Method Summary
Modifier and Type Method Description voidonAllowlistedChanged(int newValue)An event signalling about changing of the counter of allowlisted resources.voidonBlockedChanged(int newValue)An event signalling about changing of the counter of blocked resources.
-
Method Details
-
onBlockedChanged
void onBlockedChanged(int newValue)An event signalling about changing of the counter of blocked resources. This event is emitted from a user interface thread (via constructor's `view.post`).- Parameters:
newValue- A new value of blocked resources.
-
onAllowlistedChanged
void onAllowlistedChanged(int newValue)An event signalling about changing of the counter of allowlisted resources. This event is emitted from a user interface thread (via constructor's `view.post`).- Parameters:
newValue- A new value of allowlisted resources.
-