public class WifiP2pUpnpServiceInfo
extends WifiP2pServiceInfo
| java.lang.Object | ||
| android.net.wifi.p2p.nsd.WifiP2pServiceInfo | ||
| android.net.wifi.p2p.nsd.WifiP2pUpnpServiceInfo | ||
用于存储通过Wi-Fi对等设置发布的Upnp服务信息的类。
也可以看看:
Inherited constants |
|---|
android.net.wifi.p2p.nsd.WifiP2pServiceInfo
|
android.os.Parcelable
|
公共方法(Public methods) |
|
|---|---|
static WifiP2pUpnpServiceInfo |
newInstance(String uuid, String device, List<String> services) 创建UPnP服务信息对象。 |
继承方法(Inherited methods) |
|
|---|---|
android.net.wifi.p2p.nsd.WifiP2pServiceInfo
|
|
java.lang.Object
|
|
android.os.Parcelable
|
|
WifiP2pUpnpServiceInfo newInstance (String uuid, String device, List<String> services)
创建UPnP服务信息对象。
| 参数(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.1e.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.1e.g) urn:schemas-upnp-org:service:ContentDirectory:1 |
| 返回(Returns) | |
|---|---|
WifiP2pUpnpServiceInfo |
UPnP service information object. |