The Calendar Manager API relies on the CalendarManager object to enable access to a native calendar in iOS and Android devices. It allows performing the following operations:
retrieving a list of existing calendars from the device, deleting them, as well as adding new calendars,
retrieving calendar events, deleting them and creating new ones,
defining attendees and reminders.
The Calendar Manager API does not use callbacks to obtain operation results, it relies on JavaScript promises instead. The API's operation results in returning promises that can be used to retrieve different parameters, or DOMerrors, which describe a nature of the failure.