NotificationResult

Types

Link copied to clipboard
annotation class Status

Properties

Link copied to clipboard
val CANCEL: Int = 2
Indicates that a Notification was not successfully created and no work should be scheduled to retry.
Link copied to clipboard
Link copied to clipboard
val OK: Int = 0
Indicates that a Notification was successfully created.
Link copied to clipboard
val RETRY: Int = 1
Indicates that a Notification was not successfully created and that a job should be scheduled to retry later.
Link copied to clipboard
val status: Int

Functions

Link copied to clipboard
Creates a new result with a CANCEL status code.
Link copied to clipboard
Creates a new result with a notification and a OK status code.
Link copied to clipboard
Creates a new result with a RETRY status code.