-
Notifications
You must be signed in to change notification settings - Fork 293
Event Fields
Will McMahan edited this page Mar 18, 2018
·
4 revisions
Property | Type | Description | iOS | Android |
---|---|---|---|---|
id* | String | Unique id for the calendar event. | β | β |
calendarId** | String | Unique id for the calendar where the event will be saved. Defaults to the device's default calendar. | β | β |
title | String | The title for the calendar event. | β | β |
startDate | Date | The start date of the calendar event in ISO format. | β | β |
endDate | Date | The end date of the calendar event in ISO format. | β | β |
allDay | Bool | Indicates whether the event is an all-day event. | β | β |
recurrence | String | The simple recurrence frequency of the calendar event daily , weekly , monthly , yearly or none. |
β | β |
recurrenceRule ** | Object | The events recurrence settings. | β | β |
occurrenceDate* | Date | The original occurrence date of an event if it is part of a recurring series. | β | |
isDetached | Bool | Indicates whether an event is a detached instance of a repeating event. | β | |
url | String | The url associated with the calendar event. | β | β |
location | String | The location associated with the calendar event. | β | β |
notes | String | The notes associated with the calendar event. | β | |
description | String | The description associated with the calendar event. | β | |
alarms | Array | The alarms associated with the calendar event, as an array of alarm objects. | β | β |
calendar* | Object | The calendar containing the event. | β | β |
Property | Type | Description | iOS | Android |
---|---|---|---|---|
frequency | String | Event recurring frequency daily , weekly , monthly , yearly
|
β | β |
endDate | Date | Event recurring end date. This overrides occurrence | β | β |
occurrence | Number | Number of event occurrences. | β | β |
interval | Number | The interval between events of this recurrence. | β | β |
Property | Type | Description | iOS | Android |
---|---|---|---|---|
date | Date or Number | If a Date is given, an alarm will be set with an absolute date. If a Number is given, an alarm will be set with a relative offset (in minutes) from the start date. | β | β |
structuredLocation | Object | The location to trigger an alarm. | β |
Property | Type | Description | iOS | Android |
---|---|---|---|---|
title | String | The title of the location. | β | |
proximity | String | A value indicating how a location-based alarm is triggered. Possible values: enter , leave , none . |
β | |
radius | Number | A minimum distance from the core location that would trigger the calendar event's alarm. | β | |
coords | Object | The geolocation coordinates, as an object with latitude and longitude properties | β |
* Read only, ** Write only