public enum TunnelStopReason
- Object
- Enum<TunnelStopReason>
- TunnelStopReason
ImplementsComparable<TunnelStopReason>
Why a tunnel stopped.
The ordinals cross the SPI boundary, so existing constants must not be reordered.
Enum constants
REQUESTED | The app asked for it. |
USER_DISABLED | The user turned the VPN off, in Settings or the system UI. |
NETWORK_LOST | The device lost the network the tunnel was running over. |
SYSTEM_RECLAIMED | The system is reclaiming the tunnel’s host, usually for memory. |
UNKNOWN | Something else, or the platform did not say. |
Methods
public static TunnelStopReason[] values() | |
public static TunnelStopReason valueOf(String name) |
Inherited methods
Enum constant details
REQUESTED
REQUESTEDThe app asked for it.
USER_DISABLED
USER_DISABLEDThe user turned the VPN off, in Settings or the system UI.
NETWORK_LOST
NETWORK_LOSTThe device lost the network the tunnel was running over.
SYSTEM_RECLAIMED
SYSTEM_RECLAIMEDThe system is reclaiming the tunnel’s host, usually for memory.
UNKNOWN
UNKNOWNSomething else, or the platform did not say.
Method details
values
public static TunnelStopReason[] values()valueOf
public static TunnelStopReason valueOf(String name)