Language

VpnErrorClass Enum

Definition

Defines values that correspond to the Android VpnManager.ERROR_CLASS_* constants.

public enum VpnErrorClass
type VpnErrorClass = 
Inheritance
VpnErrorClass

Fields

Name Value Description
NotRecoverable 1

ExtraErrorClass coding for a non-recoverable error. This error is fatal, e.g. configuration error. The stack will not retry connection.

Android reference for android.net.VpnManager.ERROR_CLASS_NOT_RECOVERABLE.

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.

Recoverable 2

ExtraErrorClass coding for a recoverable error. The stack experienced an error but will retry with exponential backoff, e.g. network timeout.

Android reference for android.net.VpnManager.ERROR_CLASS_RECOVERABLE.

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.

Applies to