編輯

共用方式為


HMEventTriggerActivationState Enum

Definition

Enumerates the possible states of a HMEventTrigger including reasons why it might not be enabled.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HMEventTriggerActivationState
type HMEventTriggerActivationState = 
Inheritance
HMEventTriggerActivationState
Attributes

Fields

Name Value Description
Disabled 0
DisabledNoHomeHub 1
DisabledNoCompatibleHomeHub 2
DisabledNoLocationServicesAuthorization 3
Enabled 4

Applies to