From wiki.ginstr.com
Jump to: navigation, search

gn:act_toast

Description
Action used to displays toast message.
Action returns
void

Action signatures

Display toast message

[gn:act_toast]|[source]
Parameter Description
source source from where the action is using value as toast message

Example

@string/$noWriteRightsToast - message to display
[gn:act_toast]|[@string/$noWriteRightsToast]

Display toast message with duration

[gn:act_toast]|[source,duration]
Parameter Description
source source from where the action is using value as toast message
duration number in miliseconds which represents how long the toast message will be displayed

Example

@string/$noWriteRightsToast - message to display
5000 - toast duration in miliseconds
[gn:act_toast]|[@string/$noWriteRightsToast,5000]