Partager via


WifiManager.IsAutoWakeupEnabled Property

Definition

Get the persisted Wi-Fi auto wakeup feature state.

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

Property Value

true to indicate that wakeup feature is enabled, false to indicate that wakeup feature is disabled.

Attributes

Remarks

Get the persisted Wi-Fi auto wakeup feature state. Defaults to false, unless changed by the user via Settings.

The feature is described in

https://source.android.com/devices/tech/connect/wifi-infrastructure #turn_on_wi-fi_automatically

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

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