Global Variable

HMCharacteristicTypeContactState

The state of a contact sensor.

Declaration

let HMCharacteristicTypeContactState: String

Discussion

The corresponding value is one of the constants in the HMCharacteristicValueContactState enumeration.

Topics

Values

enum HMCharacteristicValueContactState

Possible values for the contact sensor state.

See Also

Power and Switches

let HMCharacteristicTypeBatteryLevel: String

The battery level of the accessory.

let HMCharacteristicTypeChargingState: String

The charging state of a battery.

let HMCharacteristicTypePowerState: String

The power state of the accessory.

let HMCharacteristicTypeOutputState: String

The output state of a programmable switch.

let HMCharacteristicTypeInputEvent: String

The input event of a programmable switch.