MessageCenterAction

Starts an activity to display either the Inbox or a Message using either MessageCenter.showMessageCenter or MessageCenter.showMessageCenter.

Accepted situations:

  • SITUATION_PUSH_OPENED

  • SITUATION_WEB_VIEW_INVOCATION

  • SITUATION_MANUAL_INVOCATION

  • SITUATION_AUTOMATION

  • SITUATION_FOREGROUND_NOTIFICATION_ACTION_BUTTON.

Accepted argument values: null to launch the inbox,the specified message ID to display, or "auto" to look for the message ID in the ActionArguments.getMetadata.

Result value: null

Default Registration Names: "^mc", "open_mc_action"

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun acceptsArguments(arguments: ActionArguments): Boolean
Link copied to clipboard
open override fun perform(arguments: ActionArguments): ActionResult
Link copied to clipboard
open override fun shouldRunOnMainThread(): Boolean

Inherited functions

Link copied to clipboard
open fun onFinish(@NonNull arguments: ActionArguments, @NonNull result: ActionResult)
Link copied to clipboard
open fun onStart(@NonNull arguments: ActionArguments)