ReadonlyavailabilityHow the event shows on a schedule: "busy", "free", "tentative", "unavailable",
or "notSupported" when its calendar doesn't support availability.
ReadonlycalendarThe identifier of the event's calendar, as in hs.eventkit.calendars().
ReadonlycalendarThe title of the event's calendar.
ReadonlyendWhen the event ends.
ReadonlyexternalThe identifier the calendar server gives the event, which is the same on every device but isn't guaranteed to be unique.
ReadonlyidThe event's identifier on this Mac.
Every occurrence of a repeating event has the same id, so use it together with
occurrenceDate (or startDate) to tell occurrences apart.
ReadonlyisWhether the event is happening now: from its start up to (but not including) its end, or for an all-day event, at any time on the days it covers.
This is worked out each time you read it, so a long-lived event object stays accurate.
ReadonlyisWhether this is an all-day event.
ReadonlyisWhether this occurrence of a repeating event has been changed from the rest.
ReadonlyisWhether the event repeats.
ReadonlylocationThe event's location, which often holds a Zoom or Teams link.
ReadonlynotesThe event's notes (its description), which often hold a meeting link.
ReadonlyoccurrenceThe original start of this occurrence of a repeating event, which stays the same if the occurrence is moved.
ReadonlystartWhen the event starts.
ReadonlystatusThe event's status: "none", "confirmed", "tentative" or "canceled".
ReadonlytimeThe event's time zone (e.g. "Europe/London"), or null for a floating event that
follows the Mac's time zone.
ReadonlytitleThe event's title.
ReadonlyurlThe URL attached to the event.
Returns a plain object holding all of the event's properties, for JSON serialisation.
JSON.stringify() calls this automatically, so you rarely need to call it yourself.
An object with every property of the event, with the values of its properties of the same names
An event from a calendar, as returned by
hs.eventkit.events()and its relatives.Each property is read from the underlying calendar event when you access it, so fetching many events is cheap even when you only look at a few of their properties. An event is a snapshot: if it changes in Calendar after you fetched it, fetch it again to see the change.
Don't create these yourself; they come from
hs.eventkit.