public class WifiP2pUpnpServiceInfo extends WifiP2pServiceInfo
WifiP2pManager.addLocalService(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener)
WifiP2pManager.removeLocalService(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener)
WifiP2pServiceInfo
WifiP2pDnsSdServiceInfo
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static int |
VERSION_1_0
UPnP version 1.0.
|
CREATOR, SERVICE_TYPE_ALL, SERVICE_TYPE_BONJOUR, SERVICE_TYPE_UPNP, SERVICE_TYPE_VENDOR_SPECIFIC, SERVICE_TYPE_WS_DISCOVERY
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
static WifiP2pUpnpServiceInfo |
newInstance(String uuid,
String device,
List<String> services)
Create UPnP service information object.
|
describeContents, equals, getSupplicantQueryList, hashCode, writeToParcel
public static final int VERSION_1_0
Query Version should always be set to 0x10 if the query values are compatible with UPnP Device Architecture 1.0.
public static WifiP2pUpnpServiceInfo newInstance(String uuid, String device, List<String> services)
uuid
- a string representation of this UUID in the following format,
as per RFC 4122.device
- a string representation of this device in the following format,
as per
UPnP Device Architecture1.1services
- a string representation of this service in the following format,
as per
UPnP Device Architecture1.1