---
title: duration
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmmutabledurationevent/duration
---

# duration

The event’s duration, in seconds.

## Declaration

```swift
var duration: TimeInterval { get set }
```
