ConnectivityManager.IsNetworkTypeValid(ConnectivityType) Method

Definition

Tests if a given integer represents a valid network type.

[Android.Runtime.Register("isNetworkTypeValid", "(I)Z", "")]
public static bool IsNetworkTypeValid (Android.Net.ConnectivityType networkType);
[<Android.Runtime.Register("isNetworkTypeValid", "(I)Z", "")>]
static member IsNetworkTypeValid : Android.Net.ConnectivityType -> bool

Parameters

networkType
ConnectivityType

the type to be tested

Returns

Attributes

Remarks

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