|
YAACC - UPNP Client and Server
|
Decides what the receiver picker does with the user's answer (new layout: play, play-all and share open the device sheet in a pick mode). More...

Classes | |
| class | Decision |
| What the caller has to do after the pick. | |
Static Public Member Functions | |
| static Decision | decide (boolean confirmed, Set< String > chosenReceiverIds) |
Decides what the receiver picker does with the user's answer (new layout: play, play-all and share open the device sheet in a pick mode).
Plain Java so it can be unit tested on the JVM.
Rules:
Decision#keepPickerOpen()); A null set counts as empty; null or empty ids inside the set are ignored. The returned set is an unmodifiable copy.
|
static |
| confirmed | true if the user confirmed the pick, false if they cancelled it |
| chosenReceiverIds | the receivers ticked in the picker, may be null |
Referenced by de.yaacc.share.PickSheetResult.confirm(), and de.yaacc.share.PendingPick.resolve().
