Language

VpnErrorClass Enum

Definition

Defines values used by the Android VpnErrorClass API.

public enum VpnErrorClass
type VpnErrorClass = 
Inheritance
VpnErrorClass

Fields

Name Value Description
NotRecoverable 1

EXTRA_ERROR_CLASS 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

EXTRA_ERROR_CLASS 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