Skip to content
Mark Taylor edited this page Mar 10, 2014 · 3 revisions

getDefaultClass(successCallback, failureCallback) Helper method for getting the current activity. Useful for [addAlarm] (addAlarm)/ [cancelAlarm] (cancelAlarm).

Parameters

  • 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

TODO


Also see

  • [addAlarm] (addAlarm)
  • [cancelAlarm] (cancelAlarm)
Clone this wiki locally