Skip to content

Javascript Method Reference

Mark Taylor edited this page Mar 12, 2014 · 2 revisions

The plugin provides various Javascript methods for you to use in your HTML/ Javascript front-end.

[getAlarms] (getAlarms)

Method to allow you to retrieve all Alarms

[getAlarm] (getAlarm)

Method to allow you to retrieve a specific Alarm

[addAlarm] (addAlarm)

Method to allow you to add an Alarm

[updateAlarm] (updateAlarm)

Method to allow you to update an Alarm

[cancelAlarm] (cancelAlarm)

Method to allow you to cancel an Alarm

[getDefaultClass] (getDefaultClass)

Helper method to get the full classname of the current activity

[getActivityExtras] (getActivityExtras)

Allows you to retrieve any user defined "extra" data provided as a result of the current Activity being as a result of an alarm.

Clone this wiki locally