org.ocap.hn.upnp.common
Interface UPnPDeviceIcon

All Known Subinterfaces:
UPnPAdvertisedDeviceIcon, UPnPClientDeviceIcon
All Known Implementing Classes:
UPnPManagedDeviceIcon

public interface UPnPDeviceIcon

This interfaces is an abstract representation of a UPnP device icon. It provides the data constituting a device icon that is independent of the network interface on which it has been advertised.


Method Summary
 int getColorDepth()
          Gets the color depth of this icon in bits.
 int getHeight()
          Gets the height of this icon in pixels.
 String getMimeType()
          Gets the mimetype for this UPnPDeviceIcon.
 int getWidth()
          Gets the width of this icon in pixels.
 

Method Detail

getColorDepth

int getColorDepth()
Gets the color depth of this icon in bits.

Returns:
The color depth of the icon in bits.

getHeight

int getHeight()
Gets the height of this icon in pixels.

Returns:
The height of the icon in pixels.

getMimeType

String getMimeType()
Gets the mimetype for this UPnPDeviceIcon. For UPnPDeviceIcons conforming to UPnP Device Architecture 1.0, this should be of the form image/xxxx where xxxx is the specific image subtype.

Returns:
The mimetype string for this icon.

getWidth

int getWidth()
Gets the width of this icon in pixels.

Returns:
The width of the icon in pixels.


Copyright © 2011. All Rights Reserved.