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

What a device says about its own sources in system/getFeatures: the bands of the tuner and how many presets the network source and the tuner keep. More...

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

Public Member Functions

boolean hasFm ()
 
boolean hasDab ()
 
int getTunerPresets ()
 
int getNetPresets ()
 
boolean hasRecent ()
 
boolean equals (Object o)
 
int hashCode ()
 

Static Public Member Functions

static YxcSourceCapabilities none ()
 No facts known: nothing that needs them is offered.
 

Static Public Attributes

static final int MAX_PRESETS = 100
 More presets than this are never offered.
 

Detailed Description

What a device says about its own sources in system/getFeatures: the bands of the tuner and how many presets the network source and the tuner keep.

Static device facts, read once; a device without the blocks has none of them.

Member Function Documentation

◆ getNetPresets()

int de.yaacc.yxc.YxcSourceCapabilities.getNetPresets ( )
Returns
the number of presets of the network source (0 when none, at most MAX_PRESETS)

Referenced by de.yaacc.yxc.YxcPresetActions.load().

Here is the caller graph for this function:

◆ getTunerPresets()

int de.yaacc.yxc.YxcSourceCapabilities.getTunerPresets ( )
Returns
the number of tuner presets (0 when none, at most MAX_PRESETS)

Referenced by de.yaacc.yxc.YxcPresetActions.load().

Here is the caller graph for this function:

◆ hasRecent()

boolean de.yaacc.yxc.YxcSourceCapabilities.hasRecent ( )
Returns
whether the network source keeps a list of recently played items

Referenced by de.yaacc.yxc.YxcPresetActions.load().

Here is the caller graph for this function:

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