YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.fcast.discovery.FCastReceiverAdmin Class Reference

Removes a receiver that was added by hand (task 5.4): it leaves the manual list, and its id leaves the stored selection of receivers (a selected receiver that is gone would stay as an offline card and be sent to on every play), and the memory of the selected receivers follows the selection. More...

Collaboration diagram for de.yaacc.fcast.discovery.FCastReceiverAdmin:
Collaboration graph

Classes

interface  Manual
 The manual list (FCastHub#removeManual in the app). More...
 
interface  Remembered
 The memory of the selected receivers (FCastHub#selectionChanged in the app). More...
 
class  Result
 What a removal did.
 
interface  SelectionStore
 Where the ids of the selected receivers live (SharedPreferences in the app). More...
 

Public Member Functions

 FCastReceiverAdmin (Manual manual, SelectionStore selection, Remembered remembered)
 
Result remove (FCastEndpoint endpoint)
 Removes the receiver as described; null or an unknown receiver changes nothing.
 

Detailed Description

Removes a receiver that was added by hand (task 5.4): it leaves the manual list, and its id leaves the stored selection of receivers (a selected receiver that is gone would stay as an offline card and be sent to on every play), and the memory of the selected receivers follows the selection.

Like the Snapcast server admin; pure, the stores are behind interfaces. A receiver that is still announced on the network is listed again as a discovered one: the user can remove what was typed in or remembered, not what is on the network.


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