WifiP2pUpnpServiceRequest
public
class
WifiP2pUpnpServiceRequest
extends WifiP2pServiceRequest
java.lang.Object | ||
↳ | android.net.wifi.p2p.nsd.WifiP2pServiceRequest | |
↳ | android.net.wifi.p2p.nsd.WifiP2pUpnpServiceRequest |
A class for creating a Upnp service discovery request for use with
WifiP2pManager.addServiceRequest
and WifiP2pManager.removeServiceRequest
Summary
Inherited constants |
---|
Public methods | |
---|---|
static
WifiP2pUpnpServiceRequest
|
newInstance()
Create a service discovery request to search all UPnP services. |
static
WifiP2pUpnpServiceRequest
|
newInstance(String st)
Create a service discovery request to search specified UPnP services. |
Inherited methods | |
---|---|
Public methods
newInstance
public static WifiP2pUpnpServiceRequest newInstance ()
Create a service discovery request to search all UPnP services.
Returns | |
---|---|
WifiP2pUpnpServiceRequest |
service request for UPnP. |
newInstance
public static WifiP2pUpnpServiceRequest newInstance (String st)
Create a service discovery request to search specified UPnP services.
Parameters | |
---|---|
st |
String : ssdp search target. Cannot be null.e.g )
|
Returns | |
---|---|
WifiP2pUpnpServiceRequest |
service request for UPnP. |