Package org.mozilla.geckoview
Interface IPProtectionController.Delegate
- Enclosing class:
- IPProtectionController
public static interface IPProtectionController.Delegate
Delegate for receiving IP protection state notifications.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled when the IP proxy state changes.default voidonServiceStateChanged(int state) Called when the IP protection service state changes.default voidCalled when the IP proxy usage changes.
-
Method Details
-
onServiceStateChanged
@UiThread default void onServiceStateChanged(int state) Called when the IP protection service state changes.- Parameters:
state- The current service state. One of theIPProtectionController.ServiceStateconstants.
-
onProxyStateChanged
Called when the IP proxy state changes.- Parameters:
state- The current proxy state.
-
onUsageChanged
Called when the IP proxy usage changes.- Parameters:
info- The current usage information.
-