Langue

SemanticAction Enum

Definition

public enum SemanticAction
type SemanticAction = 
Inheritance
SemanticAction

Fields

Name Value Description
None 0

No semantic action defined.

Reply 1

SemanticAction: Reply to a conversation, chat, group, or wherever replies may be appropriate.

MarkAsRead 2

SemanticAction: Mark content as read.

MarkAsUnread 3

SemanticAction: Mark content as unread.

Delete 4

SemanticAction: Delete the content associated with the notification.

Archive 5

SemanticAction: Archive the content associated with the notification.

Mute 6

SemanticAction: Mute the content associated with the notification.

Unmute 7

SemanticAction: Unmute the content associated with the notification.

ThumbsUp 8

SemanticAction: Mark content with a thumbs up.

ThumbsDown 9

SemanticAction: Mark content with a thumbs down.

Call 10

SemanticAction: Call a contact, group, etc.

Play 13

SemanticAction: Start (or continue previously paused) content associated with the notification. This could mean starting media playback, resuming a paused timer, etc.

Android reference for android.app.Notification.Action.SEMANTIC_ACTION_PLAY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Pause 14

SemanticAction: Pause the content associated with the notification. This could mean pausing media playback, pausing a running timer, etc.

Android reference for android.app.Notification.Action.SEMANTIC_ACTION_PAUSE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Stop 15

SemanticAction: Stop the content associated with the notification. This could mean stopping media playback, resetting a timer, etc. It is implied that a follow-up SEMANTIC_ACTION_PLAY would restart from the beginning, or may not be offered at all.

Android reference for android.app.Notification.Action.SEMANTIC_ACTION_STOP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to