The decisions of the settings sheet of an FCast receiver (task 5.3): what is shown when, the speed choices, how a speed is written.
More...
|
| static ProtocolText | protocolText (int version, int peer, de.yaacc.fcast.protocol.FCastPin.Source keySource, int sdk) |
| |
|
static boolean | showsTracks (int version, boolean itemActive, int audioChoices, int subtitleTracks, boolean externalSubtitles) |
| | Does the sheet show the tracks section: version 4 and something plays or is paused, and there are tracks or subtitle files can be added.
|
| |
|
static Layout | layout (Facts facts) |
| |
|
static String | speedLabel (double speed) |
| | "1.25x" style text, without trailing zeros ("1x", "0.5x", "2x").
|
| |
|
static int | nearestSpeed (double speed) |
| | The index in SPEEDS that is nearest to the speed, -1 for a speed that is not a number.
|
| |
|
static List< String > | speedLabels () |
| | The labels of all speeds, in order.
|
| |
The decisions of the settings sheet of an FCast receiver (task 5.3): what is shown when, the speed choices, how a speed is written.
Pure. The protocol cannot read or change a receiver's own settings; the sheet shows what the protocol can control (volume, mute, speed, stop), device information and the connection (design.md, "The settings sheet").