|
YAACC - UPNP Client and Server
|
Reads and recalls the presets of a device. More...

Classes | |
| class | Lists |
| What the device lists, per kind. | |
| enum | Result |
Static Public Member Functions | |
| static boolean | isTunerInput (YxcDeviceState state) |
| True while the zone's input is the tuner. | |
| static boolean | offered (YxcDeviceState state) |
| Does the star of the row have something to show for the selected source: the tuner needs tuner presets, a network source needs presets of the network source or a list of recent items, every other input shows everything the device lists. | |
| static Lists | load (YxcClient client, YxcSourceCapabilities caps) |
Reads the lists the device says it has (caps); a list that cannot be read is left out. | |
| static Result | recall (YxcClient client, YxcPresets.Entry entry) |
| Recalls the entry if the device still lists it as it was shown. | |
Reads and recalls the presets of a device.
A recall is never sent from the list the screen shows: the list is read again right before, and the entry must still be in it at the same position with the same name (the user may have changed the presets with the manufacturer's app meanwhile). Pure over a YxcClient; the caller runs it off the main thread.