Edit

Bagikan melalui


HMCharacteristicValueCurrentSecuritySystemState Enum

Definition

Enumerates the states of a security system.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HMCharacteristicValueCurrentSecuritySystemState
type HMCharacteristicValueCurrentSecuritySystemState = 
Inheritance
HMCharacteristicValueCurrentSecuritySystemState
Attributes

Fields

Name Value Description
StayArm 0

The system is alarmed appropriately for a user who is home and active.

AwayArm 1

The system is armed and no one is home.

NightArm 2

The system is armed appropriately for when a user is asleep at home.

Disarmed 3

The system is disarmed.

Triggered 4

The system has been triggered.

Applies to