Partager via


WifiManager.IsScanThrottleEnabled Property

Definition

Get the persisted Wi-Fi scan throttle state.

public virtual bool IsScanThrottleEnabled { [Android.Runtime.Register("isScanThrottleEnabled", "()Z", "GetIsScanThrottleEnabledHandler", ApiSince=30)] [Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")] get; }
[<get: Android.Runtime.Register("isScanThrottleEnabled", "()Z", "GetIsScanThrottleEnabledHandler", ApiSince=30)>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
member this.IsScanThrottleEnabled : bool

Property Value

true to indicate that scan throttling is enabled, false to indicate that scan throttling is disabled.

Attributes

Remarks

Get the persisted Wi-Fi scan throttle state. Defaults to true, unless changed by the user via Developer options.

The throttling limits for apps are described in

https://developer.android.com/guide/topics/connectivity/wifi-scan#wifi-scan-throttling

Java documentation for android.net.wifi.WifiManager.isScanThrottleEnabled().

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