Global Variable

HMCharacteristicTypeContactState

The state of a contact sensor.

Declaration

NSString *const HMCharacteristicTypeContactState;

Discussion

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

Topics

Values

HMCharacteristicValueContactState

Possible values for the contact sensor state.

See Also

Power and Switches

HMCharacteristicTypeBatteryLevel

The battery level of the accessory.

HMCharacteristicTypeChargingState

The charging state of a battery.

HMCharacteristicTypeOutletInUse

The state of an outlet.

HMCharacteristicTypePowerState

The power state of the accessory.

HMCharacteristicTypeStatusLowBattery

A low battery indicator.

HMCharacteristicTypeOutputState

The output state of a programmable switch.

HMCharacteristicTypeInputEvent

The input event of a programmable switch.