Freigeben über


WifiManager.NetworkStateChangedAction Field

Definition

Broadcast intent action indicating that the state of Wi-Fi connectivity has changed.

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

Field Value

Attributes

Remarks

Broadcast intent action indicating that the state of Wi-Fi connectivity has changed. An extra provides the new state in the form of a android.net.NetworkInfo object. 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.NETWORK_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