Android.Net.Wifi.P2p.WifiP2pManager.SetUpnpServiceResponseListener Method
Register a callback to be invoked on receiving upnp service discovery response.

Syntax

[Android.Runtime.Register("setUpnpServiceResponseListener", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pManager$UpnpServiceResponseListener;)V", "GetSetUpnpServiceResponseListener_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pManager_UpnpServiceResponseListener_Handler")]
public virtual void SetUpnpServiceResponseListener (WifiP2pManager.Channel c, WifiP2pManager.IUpnpServiceResponseListener listener)

Parameters

c
is the channel created at WifiP2pManager.Initialize(Android.Content.Context, Android.OS.Looper, Android.OS.Looper)
listener
for callbacks on receiving service discovery response.

Remarks

Register a callback to be invoked on receiving upnp service discovery response.

see WifiP2pManager.DiscoverServices(.Channel, .IActionListener) for the detail.

[Android Documentation]

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