Language

Notification.Action.SemanticAction Property

Definition

Returns the SemanticAction associated with this Action.

public virtual Android.App.SemanticAction SemanticAction { [Android.Runtime.Register("getSemanticAction", "()I", "GetGetSemanticActionHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getSemanticAction", "()I", "GetGetSemanticActionHandler", ApiSince=28)>]
member this.SemanticAction : Android.App.SemanticAction

Property Value

The semantic action stored for this action. The value is not checked, so it can be a value that has no public member, for example a value that a notification assistant service sets. Public values are: None Reply MarkAsRead MarkAsUnread Delete Archive Mute Unmute ThumbsUp ThumbsDown Call Play Pause Stop

Attributes

Remarks

Returns the SemanticAction associated with this Action. A SemanticAction denotes what an Action's PendingIntent will do (eg. reply, mark as read, delete, etc).

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

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