public class NotificationState extends XMLRequest
Constructor and Description |
---|
NotificationState() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNotification()
Indicates if there is an open Notification for this user or usergroup.
|
boolean |
isPriorityHigh()
Returns
true if a Notification with high priority exists for this user. |
boolean |
isPriorityLow()
Returns
true if a Notification with low priority exists for this user. |
boolean |
isPriorityMedium()
Returns
true if a Notification with medium priority exists for this user. |
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public boolean isPriorityHigh()
true
if a Notification with high priority exists for this user.true
if an unanswered high priority
Notification exists for this user in the current clientpublic boolean isPriorityMedium()
true
if a Notification with medium priority exists for this user.
This method returns false if there is an open high priority Notification.true
if an unanswered medium priority
Notification exists for this user in the current clientpublic boolean isPriorityLow()
true
if a Notification with low priority exists for this user.
This method returns false if there are Notifications with high or medium priority.true
if an unanswered low priority
Notification exists for this user in the current clientpublic boolean hasNotification()
isPriorityHigh
, isPriorityMedium
and isPriorityLow
can be used to determine the Notification priority.
If this method returns false
none of the above methods will return true
.true
if an unanswered
Notification exists for this user in the current client