Skip to main content

mobileToast

Type​

handler

Summary​

Display a toast notification

Syntax​

mobileToast(<pMessage>,<pDuration>)

Description​

Use the mobileToast handler to display a temporary non-modal notification with a specified message, for the given duration.

Parameters​

NameTypeDescription

pMessage

The message to display

pDuration

The duration of the notification. Either a positive integer, the string "long" or the string "short".

Examples​

mobileToast "Hello, I am a toast!", "short"

Compatibility and Support​

OS

android