NotificationActionButton

Model object encapsulating the data relevant to a notification action button.

Types

Link copied to clipboard
open class Builder
Builds the NotificationAction.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:NonNull
val id: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun getIcon(): Int
Gets the button's icon.
Link copied to clipboard
open fun getLabel(@NonNull context: Context): String
Gets the button's label.
Link copied to clipboard
Creates a new Builder from a button ID.