Sdílet prostřednictvím


ConnectivityManager.ActiveNetwork Property

Definition

public virtual Android.Net.Network? ActiveNetwork { [Android.Runtime.Register("getActiveNetwork", "()Landroid/net/Network;", "GetGetActiveNetworkHandler", ApiSince=23)] [Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")] get; }
[<get: Android.Runtime.Register("getActiveNetwork", "()Landroid/net/Network;", "GetGetActiveNetworkHandler", ApiSince=23)>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")>]
member this.ActiveNetwork : Android.Net.Network

Property Value

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