set_timeout


Description:

public void set_timeout (uint timeout)

Sets timeout for this.

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:

this

a toast

timeout

the timeout