WifiP2pManager.WifiP2pPeersChangedAction Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Broadcast intent action indicating that the available peer list has changed.
[Android.Runtime.Register("WIFI_P2P_PEERS_CHANGED_ACTION")]
public const string WifiP2pPeersChangedAction;
[<Android.Runtime.Register("WIFI_P2P_PEERS_CHANGED_ACTION")>]
val mutable WifiP2pPeersChangedAction : string
Field Value
- Attributes
Remarks
Broadcast intent action indicating that the available peer list has changed. This can be sent as a result of peers being found, lost or updated.
All of these permissions are required to receive this broadcast: android.Manifest.permission#ACCESS_WIFI_STATE
and either android.Manifest.permission#ACCESS_FINE_LOCATION
or android.Manifest.permission#NEARBY_WIFI_DEVICES
An extra #EXTRA_P2P_DEVICE_LIST
provides the full list of current peers. The full list of peers can also be obtained any time with #requestPeers
.
Java documentation for android.net.wifi.p2p.WifiP2pManager.WIFI_P2P_PEERS_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.