WifiP2pUpnpServiceRequest
open class WifiP2pUpnpServiceRequest : WifiP2pServiceRequest
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 |
From class Parcelable
Int |
CONTENTS_FILE_DESCRIPTOR
Descriptor bit used with describeContents() : indicates that the Parcelable object's flattened representation includes a file descriptor.
|
Int |
PARCELABLE_WRITE_RETURN_VALUE
Flag for use with writeToParcel : the object being written is a return value, that is the result of a function such as "Parcelable someFunction() ", "void someFunction(out Parcelable) ", or "void someFunction(inout Parcelable) ". Some implementations may want to release resources at this point.
|
|
Public methods
newInstance
open static fun newInstance(): WifiP2pUpnpServiceRequest!
Create a service discovery request to search all UPnP services.
newInstance
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 )
- "ssdp:all"
- "upnp:rootdevice"
- "urn:schemas-upnp-org:device:MediaServer:2"
- "urn:schemas-upnp-org:service:ContentDirectory:2"
- "uuid:6859dede-8574-59ab-9332-123456789012"
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]