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

The Android side of the OpenHome renderer: the music player of this device and the system volume. More...

Inheritance diagram for de.yaacc.upnp.server.openhome.AndroidOpenHomeHost:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.server.openhome.AndroidOpenHomeHost:
Collaboration graph

Public Member Functions

 AndroidOpenHomeHost (Context context, UpnpClient upnpClient)
 
AbstractPlayer createPlayer (List< PlayableItem > items)
 Creates a music player on this device that holds the items (in this order) and is not started.
 
boolean isAlive (AbstractPlayer player)
 
String queueUriOf (PlayableItem item)
 
String queueMetadataOf (PlayableItem item)
 
PlayableItem toPlayableItem (String uri, String metadata)
 Never null: unreadable metadata give an item that plays the address.
 
int percent ()
 
boolean muted ()
 
void setPercent (int percent)
 
void setMuted (boolean muted)
 
- Public Member Functions inherited from de.yaacc.upnp.server.openhome.OpenHomeRenderer.Host
- Public Member Functions inherited from de.yaacc.upnp.server.openhome.OpenHomeRenderer.Volume

Detailed Description

The Android side of the OpenHome renderer: the music player of this device and the system volume.

Member Function Documentation

◆ createPlayer()

AbstractPlayer de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.createPlayer ( List< PlayableItem > items)

Creates a music player on this device that holds the items (in this order) and is not started.

Called on the worker.

Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Host.

Here is the call graph for this function:

◆ isAlive()

boolean de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.isAlive ( AbstractPlayer player)
Returns
false once the player was shut down by somebody else

Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Host.

Here is the call graph for this function:

◆ muted()

boolean de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.muted ( )

◆ percent()

int de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.percent ( )

◆ queueMetadataOf()

String de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.queueMetadataOf ( PlayableItem item)
Returns
the DIDL-Lite text of the item, empty if it has none

Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Host.

◆ queueUriOf()

String de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.queueUriOf ( PlayableItem item)
Returns
the address of an item a control point can fetch, null if the queue cannot hold the item

Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Host.

Here is the call graph for this function:

◆ setMuted()

void de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.setMuted ( boolean muted)

◆ setPercent()

void de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.setPercent ( int percent)

◆ toPlayableItem()

PlayableItem de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.toPlayableItem ( String uri,
String metadata )

Never null: unreadable metadata give an item that plays the address.

Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Host.

Here is the call graph for this function:

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