Manuais
Funções SDK - AlertMessage
AlertMessage
Collapse all
publishMessage
Show/Hide
Description
It presents a message to the user.
Return Function
n/a
Parameters
Name
Description
Type
message
Description of the message that is presented to the user
String
type
Type of message displayed, which can be of four different types: Success, Information, Warning, Error.
This parameter is optional and the default value is AlertTypes.SUCCESS.
ENUM AlertTypes (SUCCESS, INFO, WARNING or ERROR)
Example
The following example shows a information message with the following message "Hello World!" .
sdk
.
publishMessage
(
"Hello World!"
,
AlertTypes
.
INFO
)