YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.share.PickShortcut Class Reference

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...

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

Static Public Member Functions

static String soleReceiver (Collection< String > offeredIds)
 

Detailed Description

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.

Member Function Documentation

◆ soleReceiver()

static String de.yaacc.share.PickShortcut.soleReceiver ( Collection< String > offeredIds)
static
Parameters
offeredIdsthe 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: