Interface Notification
- All Known Subinterfaces:
NotificationWithProgress
- All Known Implementing Classes:
NotificationImpl
,NotificationWithProgressImpl
public interface Notification
Represents a notification that is displayed on the client.
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
amendMessage
(String amendMessage) @Nullable PrimaryKey
getKey()
loadEntity
(Context context) void
setTaskExecution
(String taskId) void
updateMessage
(String newMessage) void
void
updateResult
(ResultBean result) void
updateTitle
(String newTitle)
-
Field Details
-
SCHEDULING_MESSAGE_KEY
- See Also:
-
STARTING_MESSAGE_KEY
- See Also:
-
FINISHED_MESSAGE_KEY
- See Also:
-
FAILED_TITLE_KEY
- See Also:
-
FAILED_MESSAGE_KEY
- See Also:
-
CANCELLED_MESSAGE_KEY
- See Also:
-
ACTION_NAME_KEY
- See Also:
-
-
Method Details
-
loadEntity
-
updateTitle
-
updateMessage
-
amendMessage
-
updateNotificationType
-
updateResult
-
setTaskExecution
-
getKey
-