Language

Notification.Action.Builder.SetSemanticAction(SemanticAction) メソッド

定義

このアクションの SemanticAction を設定します。

[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

パラメーター

semanticAction
SemanticAction

int: SEMANTIC_ACTION_ プレフィックスを持つ Action 内で定義された SemanticAction。 値は次のいずれかです: 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

返品

この Android.App.Notification.Action.Builder インスタンス。呼び出しをチェーンできます。

属性

注釈

このアクションの SemanticAction を設定します。 SemanticAction は、アクションの PendingIntent が何を行うかを示します (返信、開封済み、削除など)。

android.app.Notification.Action.Builder.setSemanticActionの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象