public static enum NotificationConstant.SemanticActionButton extends Enum<NotificationConstant.SemanticActionButton>
IntentAgent will take when
a NotificationActionButton is triggered.SystemCapability.Notification#ANS| 枚举常量 | 说明 |
|---|---|
ARCHIVE_ACTION_BUTTON |
Indicates the action of archiving the content associated with the notification.
|
CALL_ACTION_BUTTON |
Indicates the action of making a call.
|
DELETE_ACTION_BUTTON |
Indicates the action of deleting the content associated with the notification.
|
MUTE_ACTION_BUTTON |
Indicates the action of muting the content associated with the notification.
|
NONE_ACTION_BUTTON |
Indicates that no
IntentAgent is associated. |
READ_ACTION_BUTTON |
Indicates the action of marking the content as read.
|
REPLY_ACTION_BUTTON |
Indicates the action of replying to a conversation.
|
THUMBS_DOWN_ACTION_BUTTON |
Indicates the action of marking the content with a thumbs-down.
|
THUMBS_UP_ACTION_BUTTON |
Indicates the action of marking the content with a thumbs-up.
|
UNMUTE_ACTION_BUTTON |
Indicates the action of unmuting the content associated with the notification.
|
UNREAD_ACTION_BUTTON |
Indicates the action of marking the content as unread.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static NotificationConstant.SemanticActionButton |
valueOf(String name) |
返回带有指定名称的该类型的枚举常量。
字符串必须与用于声明该类型的枚举常量的
标识符完全匹配。(不允许有多余
的空格字符。)
|
static NotificationConstant.SemanticActionButton[] |
values() |
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。该方法可用于迭代
常量, 如下所示:
for (NotificationConstant.SemanticActionButton c : NotificationConstant.SemanticActionButton.values()) System.out.println(c); |
public static final NotificationConstant.SemanticActionButton NONE_ACTION_BUTTON
IntentAgent is associated.public static final NotificationConstant.SemanticActionButton REPLY_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton READ_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton UNREAD_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton DELETE_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton ARCHIVE_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton MUTE_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton UNMUTE_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton THUMBS_UP_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton THUMBS_DOWN_ACTION_BUTTON
public static final NotificationConstant.SemanticActionButton CALL_ACTION_BUTTON
public static NotificationConstant.SemanticActionButton[] values()
for (NotificationConstant.SemanticActionButton c : NotificationConstant.SemanticActionButton.values()) System.out.println(c);
public static NotificationConstant.SemanticActionButton valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值