|
YAACC - UPNP Client and Server
|
What the activity that opens fcast://r/ links accepts and does (task 5.6).
More...

Classes | |
| class | Decision |
| What to do with an incoming link. | |
| enum | Kind |
Public Member Functions | |
| FCastLinkIntake (MonotonicClock clock) | |
| synchronized Decision | accept (String dataString) |
Static Public Attributes | |
| static final long | REPEAT_MILLIS = 2_000L |
What the activity that opens fcast://r/ links accepts and does (task 5.6).
The link can come from any app or web page, not only from a scan, so: nothing is connected, played or stored before the user confirms; a link that is not an FCast connection link (or one that does not parse) shows "not an FCast link" and nothing else; an identical link repeated within {@value REPEAT_MILLIS} ms is ignored (a page that fires the same intent in a loop must not stack dialogs); the link text is never logged. Pure; the clock is injected.
| synchronized Decision de.yaacc.fcast.discovery.FCastLinkIntake.accept | ( | String | dataString | ) |
| dataString | the data of the intent (getDataString() only), may be null |