YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.openhome.OhSources Class Reference

The sources of a device, read from the SourceXml of its product service. More...

Collaboration diagram for de.yaacc.openhome.OhSources:
Collaboration graph

Classes

class  Source
 One source: its position in the list is the index to select it with.
 

Static Public Member Functions

static List< Source > parse (String sourceXml)
 
static Source findPlaylist (List< Source > sources)
 

Static Public Attributes

static final int MAX_SOURCES = 64
 The most sources that are read from a device.
 

Detailed Description

The sources of a device, read from the SourceXml of its product service.

Member Function Documentation

◆ findPlaylist()

static Source de.yaacc.openhome.OhSources.findPlaylist ( List< Source > sources)
static
Returns
the first source of the type "Playlist", null if the device has none

Referenced by de.yaacc.openhome.OhRemote.prepare().

Here is the caller graph for this function:

◆ parse()

static List< Source > de.yaacc.openhome.OhSources.parse ( String sourceXml)
static
Returns
the sources in the order of the list, empty for text that is not a source list

Referenced by de.yaacc.openhome.OhRemote.prepare(), and de.yaacc.openhome.OhRemote.sources().

Here is the caller graph for this function:

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