Share via


WifiP2pUpnpServiceInfo.NewInstance Method

Definition

Create UPnP service information object.

[Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Landroid/net/wifi/p2p/nsd/WifiP2pUpnpServiceInfo;", "")]
public static Android.Net.Wifi.P2p.Nsd.WifiP2pUpnpServiceInfo? NewInstance (string? uuid, string? device, System.Collections.Generic.IList<string>? services);
[<Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Landroid/net/wifi/p2p/nsd/WifiP2pUpnpServiceInfo;", "")>]
static member NewInstance : string * string * System.Collections.Generic.IList<string> -> Android.Net.Wifi.P2p.Nsd.WifiP2pUpnpServiceInfo

Parameters

uuid
String

a string representation of this UUID in the following format, as per RFC 4122.<br> 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<br> e.g) urn:schemas-upnp-org:device:MediaServer:1

services
IList<String>

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

Returns

UPnP service information object.

Attributes

Remarks

Create UPnP service information object.

Java documentation for android.net.wifi.p2p.nsd.WifiP2pUpnpServiceInfo.newInstance(java.lang.String, java.lang.String, java.util.List<java.lang.String>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to