to top
Android APIs
public class

WifiP2pUpnpServiceInfo

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

Summary

[Expand]
Inherited Constants
From class android.net.wifi.p2p.nsd.WifiP2pServiceInfo
From interface android.os.Parcelable
Public Methods

? Examples
static WifiP2pUpnpServiceInfo newInstance( String uuid, String device, List< String> services)
Create UPnP 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 WifiP2pUpnpServiceInfo newInstance (String uuid, String device, List<String> services)

Added in API level 16

Create UPnP service information object.

Parameters
uuid a string representation of this UUID in the following format, as per RFC 4122.
e.g) 6859dede-8574-59ab-9332-123456789012
device 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 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
  • UPnP service information object.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.