ConnectivityManager.GetLinkProperties(Network) Method

Definition

Get the LinkProperties for the given Network.

[Android.Runtime.Register("getLinkProperties", "(Landroid/net/Network;)Landroid/net/LinkProperties;", "GetGetLinkProperties_Landroid_net_Network_Handler")]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")]
public virtual Android.Net.LinkProperties? GetLinkProperties (Android.Net.Network? network);
[<Android.Runtime.Register("getLinkProperties", "(Landroid/net/Network;)Landroid/net/LinkProperties;", "GetGetLinkProperties_Landroid_net_Network_Handler")>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")>]
abstract member GetLinkProperties : Android.Net.Network -> Android.Net.LinkProperties
override this.GetLinkProperties : Android.Net.Network -> Android.Net.LinkProperties

Parameters

network
Network

The Network object identifying the network in question.

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