---
title: time
framework: AVFoundation
role: symbol
role_heading: Instance Property
platforms: [watchOS 6.0+]
path: avfoundation/averror-swift.struct/time
---

# time

The time duration of the error.

## Declaration

```swift
var time: CMTime? { get }
```

## See Also

### Error properties

- [device](avfoundation/averror-swift.struct/device-5iio4.md)
- [device](avfoundation/averror-swift.struct/device-1qfzr.md)
- [fileSize](avfoundation/averror-swift.struct/filesize.md)
- [fileType](avfoundation/averror-swift.struct/filetype.md)
- [mediaSubtypes](avfoundation/averror-swift.struct/mediasubtypes.md)
- [mediaType](avfoundation/averror-swift.struct/mediatype-7ksjb.md)
- [mediaType](avfoundation/averror-swift.struct/mediatype-5d8ie.md)
- [persistentTrackID](avfoundation/averror-swift.struct/persistenttrackid.md)
- [presentationTimeStamp](avfoundation/averror-swift.struct/presentationtimestamp.md)
- [processID](avfoundation/averror-swift.struct/processid.md)
- [recordingSuccessfullyFinished](avfoundation/averror-swift.struct/recordingsuccessfullyfinished.md)
