WifiP2pManager.ClearLocalServices(WifiP2pManager+Channel, WifiP2pManager+IActionListener) WifiP2pManager.ClearLocalServices(WifiP2pManager+Channel, WifiP2pManager+IActionListener) Method

Definition

Clear all registered local services of service discovery.

[Android.Runtime.Register("clearLocalServices", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetClearLocalServices_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler", ApiSince=16)]
public virtual void ClearLocalServices (Android.Net.Wifi.P2p.WifiP2pManager.Channel c, Android.Net.Wifi.P2p.WifiP2pManager.IActionListener listener);
abstract member ClearLocalServices : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit
override this.ClearLocalServices : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit

Parameters

c
WifiP2pManager.Channel WifiP2pManager.Channel

M:Android.Net.Wifi.P2p.WifiP2pManager.Initialize(Android.Content.Context,Android.OS.Looper,Android.OS.Looper)

listener
WifiP2pManager.IActionListener WifiP2pManager.IActionListener

for callbacks on success or failure. Can be null.

Remarks

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.

Applies to