Difference between revisions of "Notification:dispatchAfter"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Dispatches notification after provided period of time. Optionally can provide repeat time interval, in which notification should be repeated until canceled.
+
<translate>Dispatches notification after provided period of time. Optionally can provide repeat time interval, in which notification should be repeated until canceled.
  
 
Both dispatch after period of time and repeating time format is similar to os.date("*t") retrieved format. As in you can provide time as table with these options as keys:  
 
Both dispatch after period of time and repeating time format is similar to os.date("*t") retrieved format. As in you can provide time as table with these options as keys:  
Line 11: Line 11:
 
day - for day of the month
 
day - for day of the month
 
month - for month
 
month - for month
year - for year
+
year - for year</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Notification:dispatchAfter()
 
  Notification:dispatchAfter()
 
</source>
 
</source>

Revision as of 14:34, 23 August 2018

Available since: Gideros 2011.6

Description

Dispatches notification after provided period of time. Optionally can provide repeat time interval, in which notification should be repeated until canceled.

Both dispatch after period of time and repeating time format is similar to os.date("*t") retrieved format. As in you can provide time as table with these options as keys:

sec - for seconds min - for minutes hour - for hours day - for day of the month month - for month year - for year

 Notification:dispatchAfter()