WifiP2pManager.WifiP2pConnectionChangedAction 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 state of Wi-Fi p2p connectivity has changed.
[Android.Runtime.Register("WIFI_P2P_CONNECTION_CHANGED_ACTION")]
public const string WifiP2pConnectionChangedAction;
[<Android.Runtime.Register("WIFI_P2P_CONNECTION_CHANGED_ACTION")>]
val mutable WifiP2pConnectionChangedAction : string
Field Value
- Attributes
Remarks
Broadcast intent action indicating that the state of Wi-Fi p2p connectivity has changed. One extra #EXTRA_WIFI_P2P_INFO
provides the p2p connection info in the form of a WifiP2pInfo
object. Another extra #EXTRA_NETWORK_INFO
provides the network info in the form of a android.net.NetworkInfo
. A third extra provides the details of the group and may contain a null
.
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
Java documentation for android.net.wifi.p2p.WifiP2pManager.WIFI_P2P_CONNECTION_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.