Enumeration

HMEventTriggerActivationState

The activation state of an event trigger.

Declaration

enum HMEventTriggerActivationState : UInt

Topics

Inspecting Activation State

case disabled

Trigger is not activated.

case disabledNoCompatibleHomeHub

Trigger is not active because there is no compatible home hub.

case disabledNoHomeHub

Trigger is not active because there is no home hub.

case disabledNoLocationServicesAuthorization

Trigger is not active because the user has not authorized use of location services.

case enabled

The trigger is currently active.

See Also

Querying Trigger Activation State

var triggerActivationState: HMEventTriggerActivationState

The current activation state of the trigger.