set_timeout


Description:

public void set_timeout (int timeout)

Sets the timeout of the notification.

To set the default time, pass notify_expires_default as timeout. To set the notification to never expire, pass notify_expires_never.

Note that the timeout may be ignored by the server.

Parameters:

this

The notification.

timeout

The timeout in milliseconds.