Livecode Wiki
Advertisement

Display a toast notification

mobile Toast mex example

Built-in Message handler[]

Syntax

mobileToast pMessage,pDuration

Parameters

  • 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"
mobileToast "Hello, I am a toast message!", 5

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

See also: mobileToastCancel

Advertisement