Toast.timeout

Set timeout property.

  1. uint timeout [@property getter]
  2. uint timeout [@property setter]
    class Toast
    @property
    void
    timeout
    (
    uint propval
    )

Parameters

propval uint

The timeout of the toast, in seconds.

If timeout is 0, the toast is displayed indefinitely until manually dismissed.

Toasts cannot disappear while being hovered, pressed (on touchscreen), or have keyboard focus inside them.