Linguaggio

Notification.Action.Builder.SetSemanticAction(SemanticAction) Metodo

Definizione

Imposta la semantica per questa azione.

[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

Parametri

semanticAction
SemanticAction

int: una semantica definita all'interno di Action con prefissi SEMANTIC_ACTION_. Il valore è uno dei seguenti: 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

Valori restituiti

Questa istanza di Android.App.Notification.Action.Builder, che consente di concatenare le chiamate.

Attributi

Commenti

Imposta la semantica per questa azione. Una SemanticAction indica le operazioni che verrà eseguita da PendingIntent di un'azione(ad esempio, rispondere, contrassegnare come lettura, eliminare e così via).

Informazioni di riferimento su Android per android.app.Notification.Action.Builder.setSemanticAction.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a