Toast.timeout

Get timeout property.

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

Return Value

Type: 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.