Sdílet prostřednictvím


ConnectivityManager.IsActiveNetworkMetered Property

Definition

Returns if the currently active data network is metered.

public virtual bool IsActiveNetworkMetered { [Android.Runtime.Register("isActiveNetworkMetered", "()Z", "GetIsActiveNetworkMeteredHandler")] [Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")] get; }
[<get: Android.Runtime.Register("isActiveNetworkMetered", "()Z", "GetIsActiveNetworkMeteredHandler")>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")>]
member this.IsActiveNetworkMetered : bool

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