---
title: HMCharacteristicValueInputEvent.longPress
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmcharacteristicvalueinputevent/longpress
---

# HMCharacteristicValueInputEvent.longPress

The programmable switch detected a long press event.

## Declaration

```swift
case longPress
```

## See Also

### Input Events

- [HMCharacteristicValueInputEvent.singlePress](homekit/hmcharacteristicvalueinputevent/singlepress.md)
- [HMCharacteristicValueInputEvent.doublePress](homekit/hmcharacteristicvalueinputevent/doublepress.md)
