Difference between revisions of "Notification:dispatchOn"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Notification|Notification]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Dispatches notification on provided date in device's timezone. Optionally you can provide repeat time interval, in which notification should be repeated until canceled.
 
<translate>Dispatches notification on provided date in device's timezone. Optionally you can provide repeat time interval, in which notification should be repeated until canceled.
Line 12: Line 14:
 
month - for month
 
month - for month
 
year - for year</translate>
 
year - for year</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Notification:dispatchOn()
 
  Notification:dispatchOn()
</source>
+
</syntaxhighlight>

Latest revision as of 15:32, 13 July 2023


Available since: Gideros 2011.6
Class: Notification

Description

Dispatches notification on provided date in device's timezone. Optionally you can provide repeat time interval, in which notification should be repeated until canceled.

Both dispatch date and repeating time format is similar to os.date("*t") retrieved format. As in you can provide date 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:dispatchOn()