Skip to content

Message

A basic message prompt with a button that allows the user to acknowledge and dismiss the message. In Mobile Development Kit, you can create such messages and define their behavior.

The properties defined in Action are also applicable to this action.

Message Properties

Property Type Required
CancelCaption string Optional
Message string Required
OKCaption string Optional
OnCancel ActionOrRule Optional
OnOK ActionOrRule Optional
Title string Optional
_Type const Required

CancelCaption

Text on the Cancel button to be displayed.

  • type: string

Message

Text in the prompt that conveys the message.

  • type: string

OKCaption

Text on the OK button to be displayed.

  • type: string

OnCancel

Event handler to be triggered when Cancel button is pressed.


OnOK

Event handler to be triggered when OK button is pressed.


Title

Title of the message prompt.

  • type: string

_Type

  • type: const

The value of this property must be equal to:

"Action.Type.Message"

Action Result

This action does not have a ActionResult.


Examples

// Message.action
{
   "Message" : "This is a message.",
   "OKCaption" : "Okay",
   "Title" : "Attention!!!",
   "_Type" : "Action.Type.Message"
}