VpnState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines values used by the Android VpnState API.
public enum VpnState
type VpnState =
- Inheritance
-
VpnState
Fields
| Name | Value | Description |
|---|---|---|
| Disconnected | 0 | The VPN has not been started, or some other VPN is active. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Connecting | 1 | The VPN is attempting to connect, potentially after a failure. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Connected | 2 | The VPN was established successfully. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Failed | 3 | A non-recoverable error has occurred, and will not be retried. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |