---
title: HMCharacteristicTypeObstructionDetected
framework: homekit
role: symbol
role_heading: Global Variable
path: homekit/hmcharacteristictypeobstructiondetected
---

# HMCharacteristicTypeObstructionDetected

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

## Declaration

```swift
let HMCharacteristicTypeObstructionDetected: String
```

## Discussion

Discussion The corresponding Boolean value is true when the accessory detects an obstruction.

## See Also

### Safety and security

- [HMCharacteristicTypeCurrentSecuritySystemState](homekit/hmcharacteristictypecurrentsecuritysystemstate.md)
- [HMCharacteristicTypeTargetSecuritySystemState](homekit/hmcharacteristictypetargetsecuritysystemstate.md)
- [HMCharacteristicTypeOccupancyDetected](homekit/hmcharacteristictypeoccupancydetected.md)
- [HMCharacteristicTypeSecuritySystemAlarmType](homekit/hmcharacteristictypesecuritysystemalarmtype.md)
- [HMCharacteristicPropertyRequiresAuthorizationData](homekit/hmcharacteristicpropertyrequiresauthorizationdata.md)
