public interface UserAlert
Modifier and Type | Field and Description |
---|---|
static short |
CRITICAL_ERROR
An error which prevents normal operation
|
static short |
ERROR
An error which prevents normal operation but might be temporary
|
static short |
MINOR
Something minor
|
static short |
WARNING
An error; limited anonymity due to not enough connections, for example
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
anchor() |
java.lang.String |
dismissButtonText() |
FCPMessage |
getFCPMessage() |
HTMLNode |
getHTMLText()
Content of alert (HTML).
|
short |
getPriorityClass()
Priority class
|
java.lang.String |
getShortText()
*Really* concise text of alert.
|
java.lang.String |
getText()
Content of alert (plain text).
|
java.lang.String |
getTitle()
Title of alert (must be short!).
|
long |
getUpdatedTime() |
boolean |
isEventNotification() |
boolean |
isValid()
Is the alert valid right now? Suggested use is to synchronize on the
alert, then check this, then get the data.
|
void |
isValid(boolean validity) |
void |
onDismiss()
Method to be called upon alert dismissal
|
boolean |
shouldUnregisterOnDismiss() |
boolean |
userCanDismiss()
Can the user dismiss the alert?
If not, it persists until it is unregistered.
|
static final short CRITICAL_ERROR
static final short ERROR
static final short WARNING
static final short MINOR
boolean userCanDismiss()
java.lang.String getTitle()
java.lang.String getText()
HTMLNode getHTMLText()
java.lang.String getShortText()
short getPriorityClass()
boolean isValid()
void isValid(boolean validity)
java.lang.String dismissButtonText()
boolean shouldUnregisterOnDismiss()
void onDismiss()
java.lang.String anchor()
boolean isEventNotification()
FCPMessage getFCPMessage()
The
- identifier of the subscriptionlong getUpdatedTime()