Skip to content
Mark Taylor edited this page Mar 31, 2014 · 2 revisions

cancelAlarm(id, successCallback, failureCallback)

Allows you to cancel an existing alarm

Parameters

  • 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).

Output

On success no output is provided.

On failure, the provided JSONObject will contain:

  • ErrorMessage - string - A textual description on why the function failed.

Also see

Clone this wiki locally