다음을 통해 공유


SocketKeepalive.ErrorInvalidNetwork Field

Definition

Caution

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

The invalid network.

[Android.Runtime.Register("ERROR_INVALID_NETWORK", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.ErrorCode enum directly instead of this field.", true)]
public const Android.Net.ErrorCode ErrorInvalidNetwork = -20;
[<Android.Runtime.Register("ERROR_INVALID_NETWORK", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.ErrorCode enum directly instead of this field.", true)>]
val mutable ErrorInvalidNetwork : Android.Net.ErrorCode

Field Value

Value = -20
Attributes

Remarks

The invalid network. It indicates the specified Network is not connected.

Java documentation for android.net.SocketKeepalive.ERROR_INVALID_NETWORK.

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