|
YAACC - UPNP Client and Server
|
The receiver sheet's own gate in pick mode: it makes "exactly one answer" true. More...

Classes | |
| enum | Action |
| What the sheet has to do. More... | |
Public Member Functions | |
| Action | confirm (Set< String > ticked) |
| Action | dismissed () |
The sheet was closed (called from onDismiss, which runs for every way of closing). | |
| void | silence () |
| Nothing may be reported from now on. | |
| boolean | isDelivered () |
| True once an answer was sent (or the gate was silenced). | |
| Set< String > | confirmedIds () |
| The receivers of the sent confirm; empty before it. | |
The receiver sheet's own gate in pick mode: it makes "exactly one answer" true.
Plain Java, used from the main thread only.
The sheet reports a confirm when the confirm button is pressed with at least one receiver (Action#SEND_CONFIRM); a confirm without a receiver only shows a hint (Action#SHOW_HINT, see ReceiverPickResult.Decision#keepPickerOpen()). Every way of closing the sheet ends in onDismiss, which reports a cancel unless an answer was already sent (dismissed()), so the dismiss that follows a confirm is silent and nothing is reported twice. A sheet that has no pick behind it any more (restored after a rotation or process death) is silenced.
| Action de.yaacc.share.PickSheetResult.confirm | ( | Set< String > | ticked | ) |
| ticked | the receivers ticked in the list, may be null |

| Set< String > de.yaacc.share.PickSheetResult.confirmedIds | ( | ) |
The receivers of the sent confirm; empty before it.
Unmodifiable.