Condividi tramite


WifiP2pUpnpServiceRequest.NewInstance Method

Definition

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

Attributes

Remarks

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.
e.g )

  • "ssdp:all" "upnp:rootdevice" "urn:schemas-upnp-org:device:MediaServer:2" "urn:schemas-upnp-org:service:ContentDirectory:2" "uuid:6859dede-8574-59ab-9332-123456789012" :

Returns

Attributes

Remarks

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