-
Notifications
You must be signed in to change notification settings - Fork 6
cancelAlarm
Mark Taylor edited this page Mar 31, 2014
·
2 revisions
cancelAlarm(id, successCallback, failureCallback)
Allows you to cancel an existing alarm
- id - integer - ID of the alarm to be updated
- successCallback - function - The callback which will be called if the method is successful. The callback is passed the output (see below).
- failureCallback - function - The callback which will be called if the method encounters an error. The callback is passed the output (see below).
On success no output is provided.
On failure, the provided JSONObject will contain:
- ErrorMessage - string - A textual description on why the function failed.