Skip to content

localnotification cancel batch

Matthias Görges edited this page Oct 16, 2016 · 1 revision

#(localnotification-cancel-batch ids) localnotification-cancel-batch cancels a list of multiple local notifications at once.

Parameter Description
ids List of notification ids to cancel

Example

Example 1: Schedule three notifications, 5 min apart, and then cancel the first two.

(set! ids (localnotification-schedule-batch (list (list "one" (fl+ ##now 300.))
  (list "two" (fl+ ##now 600.)) (list "three" (fl+ ##now 900.)))))
(localnotification-cancel-batch (sublist ids 0 2))
Clone this wiki locally