Global Variable

HMCharacteristicTypeOccupancyDetected

An indicator of whether the home is occupied.

Declaration

let HMCharacteristicTypeOccupancyDetected: String

Discussion

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

Topics

Values

enum HMCharacteristicValueOccupancyStatus

Possible values for the occupancy status.

See Also

Safety and Security

let HMCharacteristicTypeObstructionDetected: String

An indicator of whether an obstruction is detected, as when something prevents a garage door from closing.