|
YAACC - UPNP Client and Server
|
Which Snapcast group row the hardware volume keys go to (11.4): the row that has the input focus (D-pad, keyboard), else the row the user touched last, and only a row that is on screen. More...

Public Member Functions | |
| void | touched (String receiverId) |
| The user did something to the row of this receiver (a tap, a drag, a button). | |
| void | forget () |
| The host (the tab, the sheet) is left: the touched row is forgotten. | |
| String | target (Collection< String > visibleIds, String focusedId) |
Which Snapcast group row the hardware volume keys go to (11.4): the row that has the input focus (D-pad, keyboard), else the row the user touched last, and only a row that is on screen.
Nothing is guessed: with no row touched and no focus the keys are left to the system, even when exactly one group is listed. Pure; the Android code reports the touches and the focus. Thread safe.
| String de.yaacc.snapcast.ui.SnapcastKeyFocus.target | ( | Collection< String > | visibleIds, |
| String | focusedId ) |
| visibleIds | the receiver ids of the Snapcast rows that are on screen |
| focusedId | the receiver id of the row that has the input focus (a row of any kind), or null. The focus on a row that is no Snapcast group takes the keys away from the group touched earlier: the user moved on |
