A builder for NotificationAction.
|
Builder()
|
| NotificationAction |
build()
Builds a
NotificationAction.
|
| NotificationAction.Builder | |
| NotificationAction.Builder |
setContentDescription(String
contentDescription)
Sets the content description that is used for accessibility.
|
| NotificationAction.Builder |
setIconResId(int iconResId)
Sets the icon's resource ID.
|
Builds a
NotificationAction.
Sets the intent action.
| IllegalArgumentException | If action is null or an empty string. |
|---|
Sets the content description that is used for accessibility.
| IllegalArgumentException | If contentDescription is null or an empty string. |
|---|
Sets the icon's resource ID.