public interface UPnPAdvertisedDevice extends UPnPDevice
| Modifier and Type | Method and Description |
|---|---|
UPnPAdvertisedDeviceIcon[] |
getAdvertisedIcons()
Gets the icons of this device.
|
UPnPAdvertisedService[] |
getAdvertisedServices()
Gets the services supported by this device.
|
UPnPAdvertisedDevice[] |
getEmbeddedAdvertisedDevices()
Gets the embedded devices for this UPnP Device.
|
InetAddress |
getInetAddress()
Returns the IP address from which this device was advertised.
|
String |
getPresentationURL()
Gets the UPnP presentation page URL of this device.
|
String |
getURLBase()
Reports the base URL for all relative URLs of this device.
|
org.w3c.dom.Document |
getXML()
Gets the device description document in XML.
|
getDeviceType, getFriendlyName, getManufacturer, getManufacturerURL, getModelDescription, getModelName, getModelNumber, getModelURL, getSerialNumber, getSpecVersion, getUDN, getUPC, isRootDeviceUPnPAdvertisedDevice[] getEmbeddedAdvertisedDevices()
UPnPAdvertisedDeviceIcon[] getAdvertisedIcons()
iconList element
of a device description.
If the iconList element in the device description is empty
or not present, returns a zero length array.UPnPAdvertisedService[] getAdvertisedServices()
InetAddress getInetAddress()
String getPresentationURL()
If the presentationURL is empty or not present, returns the empty String.
String getURLBase()
URLBase element within the
device description document. If this is an embedded device, the
URLBase element of the root device is returned.
If the URLBase property is not specified in the device
description document, this method returns the URL from which the
device description may be retrieved.
org.w3c.dom.Document getXML()
For a root device, returns the document starting with the <?xml> node. For an embedded device, returns the sub-document starting with the <device> node of the embedded device. Returns the complete XML document from the level that is appropriate, including any embedded devices.
Copyright © 2013 CableLabs. All Rights Reserved.