Interface IPProtectionController.Delegate

Enclosing class:
IPProtectionController

public static interface IPProtectionController.Delegate
Delegate for receiving IP protection state notifications.
  • 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 the IPProtectionController.ServiceState constants.
    • onProxyStateChanged

      @UiThread default void onProxyStateChanged(@NonNull IPProtectionController.ProxyState state)
      Called when the IP proxy state changes.
      Parameters:
      state - The current proxy state.
    • onUsageChanged

      @UiThread default void onUsageChanged(@NonNull IPProtectionController.UsageInfo info)
      Called when the IP proxy usage changes.
      Parameters:
      info - The current usage information.