YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.fcast.FCastCardTransport Class Reference

What the play, pause and stop buttons of an FCast card do when no player of this app plays to the receiver (task 6.2: another sender, for example a second YAACC, started the playback). More...

Collaboration diagram for de.yaacc.fcast.FCastCardTransport:
Collaboration graph

Classes

enum  Action
 The button. More...
 
enum  Command
 What to send. More...
 

Static Public Member Functions

static Command commandFor (Action action, Playback playback)
 

Detailed Description

What the play, pause and stop buttons of an FCast card do when no player of this app plays to the receiver (task 6.2: another sender, for example a second YAACC, started the playback).

The buttons then act on what the receiver reports: pause pauses what plays, play resumes what is paused, stop stops. When the state is not known yet (the connection was just made for this tap) the command is sent anyway: a receiver ignores a resume, a pause or a stop when there is nothing to resume, pause or stop. Pure.


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