| java.lang.Object | ||
| ↳ | android.net.wifi.p2p.nsd.WifiP2pServiceRequest | |
| ↳ | android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceRequest | |
A class for creating a Bonjour service discovery request for use with
addServiceRequest(WifiP2pManager.Channel, WifiP2pServiceRequest, WifiP2pManager.ActionListener)
and
removeServiceRequest(WifiP2pManager.Channel, WifiP2pServiceRequest, WifiP2pManager.ActionListener)
|
[Expand]
Inherited Constants
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
|||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Create a service discovery to search for Bonjour services with the specified
service type.
|
||||||||||
|
|
Create a service discovery request to search all Bonjour services.
|
||||||||||
|
|
Create a service discovery request to get the TXT data from the specified
Bonjour service.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.net.wifi.p2p.nsd.WifiP2pServiceRequest
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
From interface
android.os.Parcelable
|
|||||||||||
Create a service discovery to search for Bonjour services with the specified service type.
| serviceType |
service type. Cannot be null
"_afpovertcp._tcp."(Apple File Sharing over TCP) "_ipp._tcp" (IP Printing over TCP) "_http._tcp" (http service) |
|---|
Create a service discovery request to search all Bonjour services.
Create a service discovery request to get the TXT data from the specified Bonjour service.
| 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) |