Set the timer to go off once in the future.
void setExpiration( duration delay);
If the timer is already active, this will reset it.
If the timer is already active, the old one might go off before this function returns.
Name |
Description |
---|---|
|
duration until the timer will send a notification. This must be greater than zero. |