Notification.Action.Builder.SetSemanticAction(SemanticAction) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Establece semanticAction para esta acción.
[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
Parámetros
- semanticAction
- SemanticAction
int: una SemanticAction definida en Action con prefijos SEMANTIC_ACTION_. El valor es uno de los siguientes: 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
Devoluciones
Esta instancia de Android.App.Notification.Action.Builder, lo que permite encadenar llamadas.
- Atributos
Comentarios
Establece semanticAction para esta acción. Una semanticAction indica lo que hará una acción pendiente (por ejemplo, responder, marcar como leído, eliminar, etc.).
Referencia de Android para android.app.Notification.Action.Builder.setSemanticAction.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.