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.

All the properties defined under Action are applicable to this action.

Message Properties

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

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:

"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"
}