Share via


NetworkException.ErrorInternetDisconnected 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 the device was not connected to any network.

[Android.Runtime.Register("ERROR_INTERNET_DISCONNECTED", 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 ErrorInternetDisconnected = 2;
[<Android.Runtime.Register("ERROR_INTERNET_DISCONNECTED", 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 ErrorInternetDisconnected : Android.Net.Http.NetworkExceptionErrorReason

Field Value

Value = 2
Attributes

Remarks

Error code indicating the device was not connected to any network.

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

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