Android.Net.Wifi.P2p.WifiP2pManager.RemoveLocalService Method
Remove a registered local service added with WifiP2pManager.AddLocalService(.Channel, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceInfo, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceInfo)

Syntax

[Android.Runtime.Register("removeLocalService", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/nsd/WifiP2pServiceInfo;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetRemoveLocalService_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_nsd_WifiP2pServiceInfo_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler")]
public virtual void RemoveLocalService (WifiP2pManager.Channel c, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceInfo servInfo, WifiP2pManager.IActionListener listener)

Parameters

c
is the channel created at WifiP2pManager.Initialize(Android.Content.Context, Android.OS.Looper, Android.OS.Looper)
servInfo
is the local service information.
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