-
Notifications
You must be signed in to change notification settings - Fork 6
getDefaultClass
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).
- 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).
TODO
- [addAlarm] (addAlarm)
- [cancelAlarm] (cancelAlarm)