YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.share.QueueItems Class Reference

The items of the players of a picked queue. More...

Collaboration diagram for de.yaacc.share.QueueItems:
Collaboration graph

Classes

class  Built
 The entries that could be turned into items and those items, same order and size.
 

Static Public Member Functions

static Built placeholders (List< PickedQueue.Entry > entries, long imageDurationMillis)
 Items that are shared just in time: they carry name and type, a placeholder url and no key.
 
static Built direct (List< PickedQueue.Entry > entries)
 Items for this phone's own music and image player: the picked content: uri itself, read with the grant of the app; nothing is shared on the network.
 

Detailed Description

The items of the players of a picked queue.

The duration of audio and video is unknown (-1) until their share is bound: nothing starts a timer for the next item, the receiver's transport state or the local player tells when an item ended. An image has no length and no end of its own, so it gets the "default duration" setting (what browsed images get): the player shows it that long and then the next one; the setting "never" (-1) leaves it until the user goes on. This is for the items of other receivers (placeholders); this phone's own image viewer (direct) changes the image by its own slideshow time and does not read the item's duration.

Member Function Documentation

◆ placeholders()

static Built de.yaacc.share.QueueItems.placeholders ( List< PickedQueue.Entry > entries,
long imageDurationMillis )
static

Items that are shared just in time: they carry name and type, a placeholder url and no key.

The entries come from PickedQueue (type and name are already checked and cleaned).


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