WifiP2pManager.IWifiP2pListener.OnP2pStateChanged(Int32) Method
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.
Called when Wi-Fi p2p has been enabled or disabled.
[Android.Runtime.Register("onP2pStateChanged", "(I)V", "GetOnP2pStateChanged_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void OnP2pStateChanged (int state);
[<Android.Runtime.Register("onP2pStateChanged", "(I)V", "GetOnP2pStateChanged_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnP2pStateChanged : int -> unit
override this.OnP2pStateChanged : int -> unit
Parameters
- state
- Int32
indicates whether Wi-Fi p2p is enabled or disabled.
- Attributes
Remarks
Called when Wi-Fi p2p has been enabled or disabled.
Java documentation for android.net.wifi.p2p.WifiP2pManager.WifiP2pListener.onP2pStateChanged(int)
.
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.