Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

WifiP2pDnsSdServiceInfo

extends WifiP2pServiceInfo
java.lang.Object
   ↳ android.net.wifi.p2p.nsd.WifiP2pServiceInfo
     ↳ android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceInfo

Summary

[Expand]
Inherited Constants
From class android.net.wifi.p2p.nsd.WifiP2pServiceInfo
From interface android.os.Parcelable
Public Methods
static WifiP2pDnsSdServiceInfo )">newInstance ( String instanceName, String serviceType, Map < String String > txtMap)
Create a Bonjour service information object.
[Expand]
Inherited Methods
From class android.net.wifi.p2p.nsd.WifiP2pServiceInfo
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

)">

public static WifiP2pDnsSdServiceInfo newInstance ( String instanceName, String serviceType, Map < String String > txtMap)

Create a Bonjour service information object.

Parameters
instanceName instance name.
e.g) "MyPrinter"
serviceType service type.
e.g) "_ipp._tcp"
txtMap TXT record with key/value pair in a map confirming to format defined at http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt
Returns
  • Bonjour service information object