MozAlarms​Manager

Tags: 1.0 Hosted

The MozAlarmsManager API allows to schedule notifications or applications to be started at a specific time.

Syntax

interface MozAlarmsManager
{
  DOMRequest getAll();
  DOMRequest add(Date date, DOMString respectTimezone, optional object data);
  void remove(unsigned long id);
};

Properties

None.

Methods

MozAlarmsManager.getAll() - Gets the list of all alarms currently scheduled.

MozAlarmsManager.add() - Allows to schedule a new alarm.

MozAlarmsManager.remove() - Allows to remove an existing alarm.