Added in API level 16
WifiP2pUpnpServiceRequest
open class WifiP2pUpnpServiceRequest : WifiP2pServiceRequest
kotlin.Any | ||
↳ | android.net.wifi.p2p.nsd.WifiP2pServiceRequest | |
↳ | android.net.wifi.p2p.nsd.WifiP2pUpnpServiceRequest |
A class for creating a Upnp service discovery request for use with WifiP2pManager.addServiceRequest
and WifiP2pManager.removeServiceRequest
{@see WifiP2pManager} {@see WifiP2pServiceRequest} {@see WifiP2pDnsSdServiceRequest}
Summary
Inherited constants | |
---|---|
Public methods | |
---|---|
open static WifiP2pUpnpServiceRequest! |
Create a service discovery request to search all UPnP services. |
open static WifiP2pUpnpServiceRequest! |
newInstance(st: String!) Create a service discovery request to search specified UPnP services. |
Inherited functions | |
---|---|
Public methods
newInstance
Added in API level 16
open static fun newInstance(): WifiP2pUpnpServiceRequest!
Create a service discovery request to search all UPnP services.
Return | |
---|---|
WifiP2pUpnpServiceRequest! |
service request for UPnP. |
newInstance
Added in API level 16
open static fun newInstance(st: String!): WifiP2pUpnpServiceRequest!
Create a service discovery request to search specified UPnP services.
Parameters | |
---|---|
st |
String!: ssdp search target. Cannot be null. e.g )
|
Return | |
---|---|
WifiP2pUpnpServiceRequest! |
service request for UPnP. |