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

addAlarm(what, when, wakeScreen, successCallback, failureCallback)

Parameters

  • what - String - the fully qualified classname of the Android Activity to be started on the alarm. Note that the helper function [getDefaultClass] (getDefaultClass) can be used to return the current activity.
  • when - Date object - JavaScript Date object of when the alarm should be triggered. This should be in local timezone, the plugin will automatically convert and store as UTC.
  • wakeScreen - IGNORE - TO BE AMENDED
  • 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

  • [getDefaultClass] (getDefaultClass)
Clone this wiki locally