Package org.mozilla.geckoview
Class IPProtectionController.ProxyState
Object
org.mozilla.geckoview.IPProtectionController.ProxyState
- Enclosing class:
- IPProtectionController
Holds the current IP proxy state and any associated error.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceThe possible states of the IP proxy. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe proxy is in the process of activating.static final intThe proxy is active.static final intThe proxy encountered an error.final Stringstatic final intThe proxy is not ready.static final intThe proxy is paused (e.g.static final intThe proxy is ready to be activated.final intThe current proxy state. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NOT_READY
public static final int NOT_READYThe proxy is not ready.- See Also:
-
READY
public static final int READYThe proxy is ready to be activated.- See Also:
-
ACTIVATING
public static final int ACTIVATINGThe proxy is in the process of activating.- See Also:
-
ACTIVE
public static final int ACTIVEThe proxy is active.- See Also:
-
ERROR
public static final int ERRORThe proxy encountered an error.- See Also:
-
PAUSED
public static final int PAUSEDThe proxy is paused (e.g. bandwidth limit reached).- See Also:
-
state
public final int stateThe current proxy state. One of theIPProtectionController.ProxyState.Codeconstants. -
errorType
-
-
Constructor Details
-
ProxyState
protected ProxyState()Default constructor.
-