Android.Net.Wifi.P2p.Nsd.WifiP2pDnsSdServiceRequest.NewInstance Method
Create a service discovery request to get the TXT data from the specified Bonjour service.

Syntax

[Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/wifi/p2p/nsd/WifiP2pDnsSdServiceRequest;", "")]
public static WifiP2pDnsSdServiceRequest NewInstance (string instanceName, string serviceType)

Parameters

instanceName
instance name. Cannot be null.

"MyPrinter"
serviceType
service type. Cannot be null.

e.g)

"_afpovertcp._tcp"(Apple File Sharing over TCP)

"_ipp._tcp" (IP Printing over TCP)

Returns

Documentation for this section has not yet been entered.

Remarks

Create a service discovery request to get the TXT data from the specified Bonjour service.

[Android Documentation]

Requirements

Namespace: Android.Net.Wifi.P2p.Nsd
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16