Time Events

Events based on time, significant occurrences, and time durations.

Topics

Dates and Times

class HMCalendarEvent

An event that fires at a specified time.

class HMMutableCalendarEvent

A mutable event that fires at a specified time.

class HMTimeEvent

An abstract superclass for time-based events.

Significant Events

struct HMSignificantEvent

An event that represents significant time-based events, including sunrise and sunset.

class HMSignificantTimeEvent

An event that fires at a time offset from a significant time-based event.

class HMMutableSignificantTimeEvent

A mutable event that fires at the specified temporal offset to a significant event.

Durations

class HMDurationEvent

An event that ends after the specified time duration.

class HMMutableDurationEvent

A mutable event that fires after the specified time duration.

See Also

Setting Trigger Events

var events: [HMEvent]

The events that activate the trigger.

Location Events

Events that represent the user's movement among regions.

Characteristic Events

Events based on the capabilities or characteristics of accessories.

Presence Events

Events based on the user's presence in a home.

class HMEvent

The abstract base class for a HomeKit event.