Class

HMTimerTrigger

A trigger to activate an action set based on a periodic timer.

Declaration

@interface HMTimerTrigger : HMTrigger

Overview

When a timer trigger is enabled using enable:completionHandler:, the system checks to verify that the timer trigger’s fire date, time zone, and recurrence rules yield a next fire date that is in the future.

Topics

Creating a Timer Trigger

- initWithName:fireDate:timeZone:recurrence:recurrenceCalendar:

Initializes a timer trigger with specified timing information.

Choosing the Fire Date

fireDate

The time at which the trigger will next fire.

- updateFireDate:completionHandler:

Updates the next fire date for the trigger.

Using Recurrence

recurrence

The interval on which to repeat firing the trigger.

- updateRecurrence:completionHandler:

Updates the recurrence interval.

recurrenceCalendar

The calendar in which the recurrence value is evaluated.

Indicating a Time Zone

timeZone

The timezone in which to evaluate the fire time.

- updateTimeZone:completionHandler:

Updates the trigger’s time zone.

Relationships

Inherits From

See Also

Action Sets

HMActionSet

A collection of actions that you trigger as a group.

HMEventTrigger

A trigger to activate an action set based on a set of events and optional conditions.