ConnectivityManager.GetLinkProperties(Network) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The LinkProperties
for the network, or null
.
- Attributes
Remarks
Get the LinkProperties
for the given Network
. This will return null
if the network is unknown.
Java documentation for android.net.ConnectivityManager.getLinkProperties(android.net.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.