Partager via


ConnectivityManager.GetAllNetworkInfo Method

Definition

Returns connection status information about all network types supported by the device.

[Android.Runtime.Register("getAllNetworkInfo", "()[Landroid/net/NetworkInfo;", "GetGetAllNetworkInfoHandler")]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")]
public virtual Android.Net.NetworkInfo[] GetAllNetworkInfo ();
[<Android.Runtime.Register("getAllNetworkInfo", "()[Landroid/net/NetworkInfo;", "GetGetAllNetworkInfoHandler")>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")>]
abstract member GetAllNetworkInfo : unit -> Android.Net.NetworkInfo[]
override this.GetAllNetworkInfo : unit -> Android.Net.NetworkInfo[]

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