Udostępnij za pośrednictwem


VpnManager.ErrorCodeNetworkProtocolTimeout Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.

An #EXTRA_ERROR_CODE for #CATEGORY_EVENT_NETWORK_ERROR indicating a timeout.

[Android.Runtime.Register("ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)]
public const Android.Net.VpnErrorCode ErrorCodeNetworkProtocolTimeout = 1;
[<Android.Runtime.Register("ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)>]
val mutable ErrorCodeNetworkProtocolTimeout : Android.Net.VpnErrorCode

Field Value

Value = 1
Attributes

Remarks

An #EXTRA_ERROR_CODE for #CATEGORY_EVENT_NETWORK_ERROR indicating a timeout.

For Ikev2 VPNs, this happens typically after a retransmission failure. android.net.ipsec.ike.exceptions.IkeTimeoutException

Java documentation for android.net.VpnManager.ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT.

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