WifiP2pUpnpServiceInfo.NewInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.