When the receiver picker ("Play on...") is not needed: with exactly one receiver on offer the sink is clear, so the action starts at once on it.
More...
|
| static String | soleReceiver (Collection< String > offeredIds) |
| |
When the receiver picker ("Play on...") is not needed: with exactly one receiver on offer the sink is clear, so the action starts at once on it.
Pure: the ids of the receivers the picker would list go in, the id to play on (or null) comes out.
◆ soleReceiver()
| static String de.yaacc.share.PickShortcut.soleReceiver |
( |
Collection< String > | offeredIds | ) |
|
|
static |
- Parameters
-
| offeredIds | the ids of the receivers the picker would list for this content (duplicates are one receiver) |
- Returns
- the one receiver's id, or null when there are none or several (the picker is shown)
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/share/PickShortcut.java