YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.share.PickedAction Interface Reference

What a picked action does with the answer of the receiver picker (see GuardedPickedAction and BrowserHost#pickReceivers). More...

Collaboration diagram for de.yaacc.share.PickedAction:
Collaboration graph

Public Member Functions

void onConfirmed (Set< String > receiverIds, Runnable done)
 The user confirmed.
 
void onCancelled ()
 The picker was dismissed, abandoned, or the action was refused because another one is in flight.
 

Detailed Description

What a picked action does with the answer of the receiver picker (see GuardedPickedAction and BrowserHost#pickReceivers).

Called on the main thread.

Member Function Documentation

◆ onConfirmed()

void de.yaacc.share.PickedAction.onConfirmed ( Set< String > receiverIds,
Runnable done )

The user confirmed.

The action owns the single flight now: it MUST call done exactly when it no longer needs the stored receiver selection (started, failed or refused); calling it again is harmless.

Parameters
receiverIdsthe chosen receivers (never empty; unmodifiable)

Referenced by de.yaacc.share.GuardedPickedAction.onConfirmed().

Here is the caller graph for this function:

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