Toast.timeout

uint timeout() @property nothrow

Get timeout property.

Returns

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.

void timeout(uint propval) @property nothrow

Set timeout property.

Parameters

propvalThe 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.