Compartilhar via


WifiP2pManager.SetUpnpServiceResponseListener Method

Definition

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

[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 (Android.Net.Wifi.P2p.WifiP2pManager.Channel? channel, Android.Net.Wifi.P2p.WifiP2pManager.IUpnpServiceResponseListener? listener);
[<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")>]
abstract member SetUpnpServiceResponseListener : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pManager.IUpnpServiceResponseListener -> unit
override this.SetUpnpServiceResponseListener : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pManager.IUpnpServiceResponseListener -> unit

Parameters

listener
WifiP2pManager.IUpnpServiceResponseListener

for callbacks on receiving service discovery response.

Attributes

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