Package brisa :: Package upnp :: Module base_device :: Class BaseDeviceIcon
[hide private]
[frames] | no frames]

Class BaseDeviceIcon

source code

object --+
         |
        BaseDeviceIcon

Represents an icon of a device.

Instance Methods [hide private]
 
__init__(self, mimetype, width, height, depth, url)
Constructor for the DeviceIcon class.
source code
string
get_mimetype(self)
Returns icon's mimetype.
source code
string
get_width(self)
Returns icon's width.
source code
string
get_height(self)
Returns icon's height.
source code
string
get_depth(self)
Returns icon's depth.
source code
string
get_url(self)
Returns icon's url.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, mimetype, width, height, depth, url)
(Constructor)

source code 

Constructor for the DeviceIcon class.

Parameters:
  • mimetype (string) - mimetype for the icon
  • width (string) - icon width
  • height (string) - icon height
  • depth (string) - icon depth
  • url (string) - icon url
Overrides: object.__init__