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

WifiP2pUpnpServiceRequest

extends WifiP2pServiceRequest
java.lang.Object
   ↳ android.net.wifi.p2p.nsd.WifiP2pServiceRequest
     ↳ android.net.wifi.p2p.nsd.WifiP2pUpnpServiceRequest

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
static WifiP2pUpnpServiceRequest newInstance ( String st)
Create a service discovery request to search specified UPnP services.
static WifiP2pUpnpServiceRequest newInstance ()
Create a service discovery request to search all UPnP services.
[Expand]
Inherited Methods
From class android.net.wifi.p2p.nsd.WifiP2pServiceRequest
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public static WifiP2pUpnpServiceRequest newInstance ( String st)

Create a service discovery request to search specified UPnP services.

Parameters
st ssdp search target. Cannot be null.
e.g )
  • "ssdp:all"
  • "upnp:rootdevice"
  • "urn:schemas-upnp-org:device:MediaServer:2"
  • "urn:schemas-upnp-org:service:ContentDirectory:2"
  • "uuid:6859dede-8574-59ab-9332-123456789012"
Returns
  • service request for UPnP.

public static WifiP2pUpnpServiceRequest newInstance ()

Create a service discovery request to search all UPnP services.

Returns
  • service request for UPnP.