Share via


NetworkException.ErrorNetworkChanged Field

Definition

Caution

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

Error code indicating that as the request was processed the network configuration changed.

[Android.Runtime.Register("ERROR_NETWORK_CHANGED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.", true)]
public const Android.Net.Http.NetworkExceptionErrorReason ErrorNetworkChanged = 3;
[<Android.Runtime.Register("ERROR_NETWORK_CHANGED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.NetworkExceptionErrorReason enum directly instead of this field.", true)>]
val mutable ErrorNetworkChanged : Android.Net.Http.NetworkExceptionErrorReason

Field Value

Value = 3
Attributes

Remarks

Error code indicating that as the request was processed the network configuration changed. When #getErrorCode returns this code, this exception may be cast to QuicException for more information if QUIC protocol is used.

Java documentation for android.net.http.NetworkException.ERROR_NETWORK_CHANGED.

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