WebAPI/AlarmAPI: Difference between revisions

Jump to navigation Jump to search
m
Line 31: Line 31:
== Proposed API ==
== Proposed API ==


There is an object in ''window.navigator'' named ''mozAlarms'' with the following interface, where the ''respectTimezone'' can be specified by either ''"honorTimezone"'' or ''"ignoreTimezone"'' and the ''data'' can save customized JSON objec data for each alarm setting.
There is an object in <code>window.navigator</code> named <code>mozAlarms</code> with the following interface, where the <code>respectTimezone</code> can be specified by either <code>"honorTimezone"</code> or <code>"ignoreTimezone"</code> and the <code>data</code> can save customized JSON objec data for each alarm setting.


   interface AlarmsManager
   interface AlarmsManager
Confirmed users
110

edits

Navigation menu