WebAPI/AlarmAPI: Difference between revisions

m
Line 28: Line 28:
* Web applications can pass customized JSON object data to descirbe more details about each alarm setting.
* Web applications can pass customized JSON object data to descirbe more details about each alarm setting.
* When the alarm goes off, an alarm message will be fired and can be handled by the System Message Handler.
* When the alarm goes off, an alarm message will be fired and can be handled by the System Message Handler.
* All the alarms that have been set can be automatically restored even if a system reboot is encountered.
* All the alarms that have been added can be automatically restored even if a system reboot is encountered.
* Alarm API actually does more than setTimeout because it can actively *wake up* the system from sleeping.
* Alarm API actually does more than setTimeout because it can actively *wake up* the system from sleeping.
* Whenever the system clock or timezone is adjusted at run-time, all the saved alarms will be rescheduled.
* Whenever the system clock or timezone is adjusted at run-time, all the saved alarms will be rescheduled.
Confirmed users
110

edits