6.1-roUPnPDevice

ON THIS PAGE


This object is returned by the roUPnPSearchEvent.GetObject() method under certain conditions.

ifUPnPDevice

GetUUID() As String
 
GetHeaders() As roAssociativeArray

Returns an associative array of headers (including vendor-specific extensions) associated with the advertisement or search.

GetDeviceInfo() As roAssociativeArray

Returns an associative array of device metadata from the device XML (applicable to root items only).

GetEmbeddedDevices() As roAssociativeArray

Returns an associative array of embedded roUPnPDevice object instances, keyed by device type.

GetEmbeddedDevice(deviceType As String) As roUPnPDevice

Returns an roUPnPDevice instance, using the specified deviceType as a unique identifier. The deviceType parameter must use one of the following formats:

  • urn:schemas-upnp:device:deviceType:v: Search for any device of this type. The deviceType and version (v) are defined by the UPnP Forum working committee.
  • urn:domain-name:device:deviceType:v: Search for any device of this type. The domain-name, deviceType, and version (v) are defined by the UPnP vender. Period characters in the domain name must be replaced with hyphens in accordance with RFC2141.
GetServices() As roAssociativeArray

Returns an associative array of embedded roPnPService object instances, keyed by type.

GetService(serviceType As String) As roUPnPService

Returns an roUPnPService instance of the specified type.