@notification::setDelay

Delay the actual starting point to begin the notification.

A notification with a delay will fully initialize from a performNotification but it will delay the actual resolution of the Device-level notifications by the number of seconds provided.

You can provide a value for the delay as an integer or as a string, with the submitted value subject to the variable auto-conversion rules as explained in Variable auto-conversion rules.

Syntax:

@notification::setDelay(int seconds)

OR

@notification::setDelay(str seconds)

Parameters:

(int) seconds: number of seconds to wait before beginning to send the notification

 OR

(str) seconds: amount of time, in seconds, to delay starting the notification.

Returns:

None

Example:

The following script illustrates using setDelay:

# Create a 10 minute delay before notifications start

@notification::setDelay(600)

@notification::performNotification ()