ToastAction
An action that displays text in a toast.
Accepted situations: Action.Situation.PUSH_OPENED, Action.Situation.WEB_VIEW_INVOCATION, Action.Situation.MANUAL_INVOCATION, Action.Situation.AUTOMATION, Action.Situation.BACKGROUND_NOTIFICATION_ACTION_BUTTON, and Action.Situation.FOREGROUND_NOTIFICATION_ACTION_BUTTON.
Accepted argument value - A string with the toast text or a map with:
LENGTH_KEY: int either Toast.LENGTH_LONG or Toast.LENGTH_SHORT, Optional
TEXT_KEY: String, Required
Result value: The arguments value.
Default Registration Names: DEFAULT_NAMES
Functions
Inherited functions
Called after the action performs.
Called before an action is performed.
Performs the action, suspending until it completes.
Performs the action, with pre/post execution calls, if it accepts the provided arguments.
Performs the action, with pre/post execution calls, if it accepts the provided arguments, suspending until the action completes.