WifiP2pUpnpServiceRequest.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.
Overloads
NewInstance() |
Create a service discovery request to search all UPnP services. |
NewInstance(String) |
Create a service discovery request to search specified UPnP services. |
NewInstance()
Create a service discovery request to search all UPnP services.
[Android.Runtime.Register("newInstance", "()Landroid/net/wifi/p2p/nsd/WifiP2pUpnpServiceRequest;", "")]
public static Android.Net.Wifi.P2p.Nsd.WifiP2pUpnpServiceRequest? NewInstance ();
[<Android.Runtime.Register("newInstance", "()Landroid/net/wifi/p2p/nsd/WifiP2pUpnpServiceRequest;", "")>]
static member NewInstance : unit -> Android.Net.Wifi.P2p.Nsd.WifiP2pUpnpServiceRequest
Returns
service request for UPnP.
- Attributes
Remarks
Create a service discovery request to search all UPnP services.
Java documentation for android.net.wifi.p2p.nsd.WifiP2pUpnpServiceRequest.newInstance()
.
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
NewInstance(String)
Create a service discovery request to search specified UPnP services.
[Android.Runtime.Register("newInstance", "(Ljava/lang/String;)Landroid/net/wifi/p2p/nsd/WifiP2pUpnpServiceRequest;", "")]
public static Android.Net.Wifi.P2p.Nsd.WifiP2pUpnpServiceRequest? NewInstance (string? st);
[<Android.Runtime.Register("newInstance", "(Ljava/lang/String;)Landroid/net/wifi/p2p/nsd/WifiP2pUpnpServiceRequest;", "")>]
static member NewInstance : string -> Android.Net.Wifi.P2p.Nsd.WifiP2pUpnpServiceRequest
Parameters
- st
- String
ssdp search target. Cannot be null.<br> e.g ) <br> <ul> <li>"ssdp:all" <li>"upnp:rootdevice" <li>"urn:schemas-upnp-org:device:MediaServer:2" <li>"urn:schemas-upnp-org:service:ContentDirectory:2" <li>"uuid:6859dede-8574-59ab-9332-123456789012" </ul>
Returns
service request for UPnP.
- Attributes
Remarks
Create a service discovery request to search specified UPnP services.
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.