WifiP2pManager.IWifiP2pListener.OnDiscoveryStateChanged(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 peer discovery has either started or stopped.
[Android.Runtime.Register("onDiscoveryStateChanged", "(I)V", "GetOnDiscoveryStateChanged_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void OnDiscoveryStateChanged (int state);
[<Android.Runtime.Register("onDiscoveryStateChanged", "(I)V", "GetOnDiscoveryStateChanged_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnDiscoveryStateChanged : int -> unit
override this.OnDiscoveryStateChanged : int -> unit
Parameters
- state
- Int32
indicates whether discovery has started or stopped.
- Attributes
Remarks
Called when peer discovery has either started or stopped.
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.