WebAPI/AlarmAPI: Difference between revisions

Jump to navigation Jump to search
Line 114: Line 114:
* Does the <code>getAll(...)</code> return the alarms that have already been fired? Or the back-end will keep them before the <code>remove(...)</code> is explicitly called?
* Does the <code>getAll(...)</code> return the alarms that have already been fired? Or the back-end will keep them before the <code>remove(...)</code> is explicitly called?
** The back-end won't keep the fired alarms, which means only alarms that have not fired will be returned.
** The back-end won't keep the fired alarms, which means only alarms that have not fired will be returned.
* What happened if the app attempts to add an alarm which has a past setting time?
** The <code>add(...)</code> will set the <code>DOMRequest.error</code> to an <code>InvalidStateError DOMError</code>.


* Why?
* Why?
Confirmed users
110

edits

Navigation menu