Android.Net.Wifi.P2p.WifiP2pManager.StopPeerDiscovery Method
Stop an ongoing peer discovery

Syntax

[Android.Runtime.Register("stopPeerDiscovery", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetStopPeerDiscovery_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler")]
public virtual void StopPeerDiscovery (WifiP2pManager.Channel c, WifiP2pManager.IActionListener listener)

Parameters

c
is the channel created at WifiP2pManager.Initialize(Android.Content.Context, Android.OS.Looper, Android.OS.Looper)
listener
for callbacks on success or failure. Can be null.

Remarks

Requirements

Namespace: Android.Net.Wifi.P2p
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16