
A structure representing the calendarEvent item. It enables creating a new
calendar event.
Use the launchbox.CalendarManager.CalendarEvent reference to obtain an
instance of this object.
Listed below are attributes of the calendarEvent object:
| Attribute | Description | Type | Use |
|---|---|---|---|
| id | A unique identifier of the calendar event object. Used on Android only. A read-only
field. For iOS, this parameted is a string. |
number |
required |
| calendar | An ID of the calendar this event is present in. This attribute must be set to assign the event to a specific calendar. Events cannot be assigned to a calendar that does not exist. | string |
required |
| title | A name of the event, for example "Executive meeting". | string |
optional |
| location | A location the event takes place at, for example "Main conference room". | string |
optional |
| dateStart | A time at which the event begins. | date |
optional |
| dateEnd | A time at which the event finishes. | date |
optional |
| attendees |
An array of Attendee objects. On iOS, attendees are read-only. Therefore, attendees
pushed to this array will not be saved using the |
array |
optional |
| reminders | An array of Reminder objects. | array |
optional |
| Name | Return type | Description |
|---|---|---|
| save | promise |
Saves changes made to the |