Share via


WifiP2pManager.IDnsSdServiceResponseListener.OnDnsSdServiceAvailable Method

Definition

The requested Bonjour service response is available.

[Android.Runtime.Register("onDnsSdServiceAvailable", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/wifi/p2p/WifiP2pDevice;)V", "GetOnDnsSdServiceAvailable_Ljava_lang_String_Ljava_lang_String_Landroid_net_wifi_p2p_WifiP2pDevice_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IDnsSdServiceResponseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnDnsSdServiceAvailable (string? instanceName, string? registrationType, Android.Net.Wifi.P2p.WifiP2pDevice? srcDevice);
[<Android.Runtime.Register("onDnsSdServiceAvailable", "(Ljava/lang/String;Ljava/lang/String;Landroid/net/wifi/p2p/WifiP2pDevice;)V", "GetOnDnsSdServiceAvailable_Ljava_lang_String_Ljava_lang_String_Landroid_net_wifi_p2p_WifiP2pDevice_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IDnsSdServiceResponseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnDnsSdServiceAvailable : string * string * Android.Net.Wifi.P2p.WifiP2pDevice -> unit

Parameters

instanceName
String

instance name.
e.g) "MyPrinter".

registrationType
String

e.g) "_ipp._tcp.local."

srcDevice
WifiP2pDevice

source device.

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