YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.yxc.YxcDeviceInfo Class Reference

Answer of system/getDeviceInfo. More...

Collaboration diagram for de.yaacc.yxc.YxcDeviceInfo:
Collaboration graph

Public Member Functions

String getDeviceId ()
 
String getSystemId ()
 
String getModelName ()
 
String getSystemVersion ()
 
Double getApiVersion ()
 
boolean isApiVersionAtLeast (double minimum)
 Features that depend on the API version (for example volume up / down from 1.17) are gated with this.
 
String toString ()
 

Detailed Description

Answer of system/getDeviceInfo.

The ids identify a physical unit: toString() leaves them out so that a log line does not carry them.

Member Function Documentation

◆ getApiVersion()

Double de.yaacc.yxc.YxcDeviceInfo.getApiVersion ( )
Returns
the API version as a number (for example 1.19), null if not reported

◆ getDeviceId()

String de.yaacc.yxc.YxcDeviceInfo.getDeviceId ( )
Returns
the device id, null if the device did not report one

◆ getSystemId()

String de.yaacc.yxc.YxcDeviceInfo.getSystemId ( )
Returns
the system id; a manual discovery treats a device without it as "not a YXC device"

The documentation for this class was generated from the following file: