localnotification cancel batch - part-cw/lambdanative GitHub Wiki

#(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))