Udostępnij za pośrednictwem


WifiManager.IsScanAlwaysAvailable Property

Definition

Check if scanning is always available.

public virtual bool IsScanAlwaysAvailable { [Android.Runtime.Register("isScanAlwaysAvailable", "()Z", "GetIsScanAlwaysAvailableHandler")] get; }
[<get: Android.Runtime.Register("isScanAlwaysAvailable", "()Z", "GetIsScanAlwaysAvailableHandler")>]
member this.IsScanAlwaysAvailable : bool

Property Value

Attributes

Remarks

Check if scanning is always available.

If this return true, apps can issue #startScan and fetch scan results even when Wi-Fi is turned off.

To change this setting, see #ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE.

This member is deprecated. The ability for apps to trigger scan requests will be removed in a future release.

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

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