java.lang.Object | |||
↳ | java.util.Observable | ||
↳ | fm.audiobox.core.models.Model | ||
↳ | fm.audiobox.core.models.Notification |
Notifications are system messages that the AudioBox will send the user, for example when a Cloud Drive needs to be re-authenticated or if some operation fails.
There are four different notification levels: `error`, `success`, `info` and `warning`.Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Notification() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Notification |
delete(AudioBoxClient audioBoxClient)
Performs a Notification deletion.
| ||||||||||
String |
getBody()
Gets the content body of the notification message.
| ||||||||||
String |
getCreatedAt()
Gets the UTC creation time in String format.
| ||||||||||
long |
getId()
Gets the notification id.
| ||||||||||
String |
getLevel()
Gets the severity of the message.
| ||||||||||
static String |
getPath()
Gets the generic remote resource path (ID interpolation is needed).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.models.Model
| |||||||||||
From class
java.util.Observable
| |||||||||||
From class
java.lang.Object
|
Performs a Notification deletion. If deletion cannot be accomplished an exception is thrown.
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the content body of the notification message.
Gets the UTC creation time in String format.
Gets the notification id.
Gets the severity of the message.
Gets the generic remote resource path (ID interpolation is needed).