Skip to content

localnotification schedule batch

Matthias Görges edited this page Oct 16, 2016 · 2 revisions

#(localnotification-schedule-batch nfs0) localnotification-schedule-batch schedules a list of multiple new local notifications at once.

Parameter Description
nfs0 List of notifications to schedule
This is a list of (string time . repeatmin) lists. The function returns a list of ids, which can be used for cancellations.

Example

Example 1: Schedule three notifications, 5 min apart

(localnotification-schedule-batch (list (list "one" (fl+ ##now 300.))
  (list "two" (fl+ ##now 600.)) (list "three" (fl+ ##now 900.))))
Clone this wiki locally