ConnectivityManager.GetAllNetworks Method

Definition

Returns an array of all Network currently tracked by the framework.

[Android.Runtime.Register("getAllNetworks", "()[Landroid/net/Network;", "GetGetAllNetworksHandler")]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")]
public virtual Android.Net.Network[] GetAllNetworks ();
[<Android.Runtime.Register("getAllNetworks", "()[Landroid/net/Network;", "GetGetAllNetworksHandler")>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")>]
abstract member GetAllNetworks : unit -> Android.Net.Network[]
override this.GetAllNetworks : unit -> Android.Net.Network[]

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