Freigeben über


WifiManager.ActionRequestScanAlwaysAvailable Field

Definition

Activity Action: Show a system activity that allows the user to enable scans to be available even with Wi-Fi turned off.

[Android.Runtime.Register("ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE")]
public const string ActionRequestScanAlwaysAvailable;
[<Android.Runtime.Register("ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE")>]
val mutable ActionRequestScanAlwaysAvailable : string

Field Value

Attributes

Remarks

Activity Action: Show a system activity that allows the user to enable scans to be available even with Wi-Fi turned off.

Notification of the result of this activity is posted using the android.app.Activity#onActivityResult callback. The resultCode will be android.app.Activity#RESULT_OK if scan always mode has been turned on or android.app.Activity#RESULT_CANCELED if the user has rejected the request or an error has occurred.

Java documentation for android.net.wifi.WifiManager.ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE.

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