Freigeben über


WifiP2pManager.IUpnpServiceResponseListener.OnUpnpServiceAvailable Method

Definition

The requested upnp service response is available.

[Android.Runtime.Register("onUpnpServiceAvailable", "(Ljava/util/List;Landroid/net/wifi/p2p/WifiP2pDevice;)V", "GetOnUpnpServiceAvailable_Ljava_util_List_Landroid_net_wifi_p2p_WifiP2pDevice_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IUpnpServiceResponseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnUpnpServiceAvailable (System.Collections.Generic.IList<string>? uniqueServiceNames, Android.Net.Wifi.P2p.WifiP2pDevice? srcDevice);
[<Android.Runtime.Register("onUpnpServiceAvailable", "(Ljava/util/List;Landroid/net/wifi/p2p/WifiP2pDevice;)V", "GetOnUpnpServiceAvailable_Ljava_util_List_Landroid_net_wifi_p2p_WifiP2pDevice_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IUpnpServiceResponseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnUpnpServiceAvailable : System.Collections.Generic.IList<string> * Android.Net.Wifi.P2p.WifiP2pDevice -> unit

Parameters

uniqueServiceNames
IList<String>

The list of unique service names.<br> e.g) uuid:6859dede-8574-59ab-9332-123456789012::urn:schemas-upnp-org:device: MediaServer:1

srcDevice
WifiP2pDevice

source device.

Attributes

Remarks

The requested upnp service response is available.

This function is invoked when the specified device or service is found.

Java documentation for android.net.wifi.p2p.WifiP2pManager.UpnpServiceResponseListener.onUpnpServiceAvailable(java.util.List<java.lang.String>, android.net.wifi.p2p.WifiP2pDevice).

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