Udostępnij za pośrednictwem


WifiManager.WifiStateChangedAction Field

Definition

Broadcast intent action indicating that Wi-Fi has been enabled, disabled, enabling, disabling, or unknown.

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

Field Value

Attributes

Remarks

Broadcast intent action indicating that Wi-Fi has been enabled, disabled, enabling, disabling, or unknown. One extra provides this state as an int. Another extra provides the previous state, if available. No network-related permissions are required to subscribe to this broadcast.

This broadcast is not delivered to manifest receivers in applications that target API version 26 or later.

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

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

See also