---
title: duration
framework: imagecapturecore
role: symbol
role_heading: Instance Property
path: imagecapturecore/iccamerafile/duration
---

# duration

The duration, in seconds, of an audio or video file.

## Declaration

```swift
var duration: Double { get }
```

## See Also

### Inspecting Video Properties

- [highFramerate](imagecapturecore/iccamerafile/highframerate.md)
- [timeLapse](imagecapturecore/iccamerafile/timelapse.md)
