Notification.Action.Builder.SetSemanticAction(SemanticAction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the SemanticAction for this Action.
[Android.Runtime.Register("setSemanticAction", "(I)Landroid/app/Notification$Action$Builder;", "", ApiSince=28)]
public Android.App.Notification.Action.Builder SetSemanticAction(Android.App.SemanticAction semanticAction);
[<Android.Runtime.Register("setSemanticAction", "(I)Landroid/app/Notification$Action$Builder;", "", ApiSince=28)>]
member this.SetSemanticAction : Android.App.SemanticAction -> Android.App.Notification.Action.Builder
Parameters
- semanticAction
- SemanticAction
int: a SemanticAction defined within Action with SEMANTIC_ACTION_ prefixes. Value is one of the following: Notification.Action.SEMANTIC_ACTION_NONE Notification.Action.SEMANTIC_ACTION_REPLY Notification.Action.SEMANTIC_ACTION_MARK_AS_READ Notification.Action.SEMANTIC_ACTION_MARK_AS_UNREAD Notification.Action.SEMANTIC_ACTION_DELETE Notification.Action.SEMANTIC_ACTION_ARCHIVE Notification.Action.SEMANTIC_ACTION_MUTE Notification.Action.SEMANTIC_ACTION_UNMUTE Notification.Action.SEMANTIC_ACTION_THUMBS_UP Notification.Action.SEMANTIC_ACTION_THUMBS_DOWN Notification.Action.SEMANTIC_ACTION_CALL Notification.Action.SEMANTIC_ACTION_PLAY Notification.Action.SEMANTIC_ACTION_PAUSE Notification.Action.SEMANTIC_ACTION_STOP
Returns
This Android.App.Notification.Action.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Sets the SemanticAction for 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.Builder.setSemanticAction.
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.