Partager via


WifiP2pManager.WifiP2pDiscoveryChangedAction Field

Definition

Broadcast intent action indicating that peer discovery has either started or stopped.

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

Field Value

Attributes

Remarks

Broadcast intent action indicating that peer discovery has either started or stopped. One extra #EXTRA_DISCOVERY_STATE indicates whether discovery has started or stopped.

Note that discovery will be stopped during a connection setup. If the application tries to re-initiate discovery during this time, it can fail.

Java documentation for android.net.wifi.p2p.WifiP2pManager.WIFI_P2P_DISCOVERY_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