Device class

A upnp device

Constructors

Device()

Properties

deviceElement ↔ XmlElement
The xml element the properties of this object were initialized from
getter/setter pair
deviceType ↔ String?
The urn of this type of device
getter/setter pair
friendlyName ↔ String?
The user friendly name
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
icons ↔ List<Icon>
The list of icons
getter/setter pair
manufacturer ↔ String?
The manufacturer of this device
getter/setter pair
manufacturerUrl ↔ String?
The URL to the manufacturer site
getter/setter pair
modelDescription ↔ String?
The long user-friendly title
getter/setter pair
modelName ↔ String?
The name of this model
getter/setter pair
modelNumber ↔ String?
The model numbe rof this device
getter/setter pair
modelType ↔ String?
The type of model of this device
getter/setter pair
presentationUrl ↔ String?
The url for presentation
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceNames → List<String?>
Returns all IDs/service names of the services of this device. See ServiceDescription.id
no setter
services ↔ List<ServiceDescription>
The list of provided services
getter/setter pair
udn ↔ String?
The universal device name of this device
getter/setter pair
url ↔ String?
The url provided in loadFromXml
getter/setter pair
urlBase ↔ String?
The base url of this device
getter/setter pair
uuid ↔ String?
The uuid extracted from the udn
getter/setter pair

Methods

getService(String type) → Future<Service?>
Returns the service of the specified type or null if this device does not support this service
loadFromXml(String? url, XmlElement element) → void
Initializes all fields from the xml element
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited