Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

WifiP2pUpnpServiceInfo

public class WifiP2pUpnpServiceInfo
extends WifiP2pServiceInfo

java.lang.Object
   ↳ android.net.wifi.p2p.nsd.WifiP2pServiceInfo
     ↳ android.net.wifi.p2p.nsd.WifiP2pUpnpServiceInfo


A class for storing Upnp service information that is advertised over a Wi-Fi peer-to-peer setup.

Summary

Inherited constants

Public methods

static WifiP2pUpnpServiceInfo newInstance(String uuid, String device, List<String> services)

Create UPnP service information object.

Inherited methods

Public methods

newInstance

added in API level 16
public static WifiP2pUpnpServiceInfo newInstance (String uuid, 
                String device, 
                List<String> services)

Create UPnP service information object.

Parameters
uuid String: a string representation of this UUID in the following format, as per RFC 4122.
e.g) 6859dede-8574-59ab-9332-123456789012

device String: a string representation of this device in the following format, as per UPnP Device Architecture1.1
e.g) urn:schemas-upnp-org:device:MediaServer:1

services List: a string representation of this service in the following format, as per UPnP Device Architecture1.1
e.g) urn:schemas-upnp-org:service:ContentDirectory:1

Returns
WifiP2pUpnpServiceInfo UPnP service information object.