YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.multiroom.feed.FeedError Class Reference

Why a feed to a Snapcast group could not be started or ended on its own: a kind for the UI to pick a text, the server's reason as display text (already cleaned and cut by SnapcastStreams; null if there is none) and the key of a hint text. More...

Collaboration diagram for de.yaacc.multiroom.feed.FeedError:
Collaboration graph

Classes

enum  Kind
 What went wrong. More...
 

Public Member Functions

 FeedError (Kind kind, String reason, String hintKey)
 
Kind getKind ()
 
String getReason ()
 The server's reason as display text, or null.
 
String getHintKey ()
 The resource key of a hint text, for example SnapcastStreams#HINT_STATIC_SOURCE, or null.
 
String toString ()
 

Static Public Member Functions

static FeedError of (Kind kind)
 

Detailed Description

Why a feed to a Snapcast group could not be started or ended on its own: a kind for the UI to pick a text, the server's reason as display text (already cleaned and cut by SnapcastStreams; null if there is none) and the key of a hint text.

No address, no exception, nothing that could carry one: it is shown to the user and may be written to a log.


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