setTimeout

fun setTimeout(timeout: <Error class: unknown class>)

Sets timeout for @self.

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.

Parameters

timeout

the timeout