---
title: durationWatched
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritemaccesslogevent/durationwatched
---

# durationWatched

The accumulated duration, in seconds, of the media played.

## Declaration

```swift
var durationWatched: TimeInterval { get }
```

## Discussion

Discussion The property corresponds to “c-duration-watched”. The value of this property is negative if unknown. This property is not compatible with key-value observing.

## See Also

### Getting playback-related log events

- [playbackStartDate](avfoundation/avplayeritemaccesslogevent/playbackstartdate.md)
- [playbackSessionID](avfoundation/avplayeritemaccesslogevent/playbacksessionid.md)
- [playbackStartOffset](avfoundation/avplayeritemaccesslogevent/playbackstartoffset.md)
- [playbackType](avfoundation/avplayeritemaccesslogevent/playbacktype.md)
- [startupTime](avfoundation/avplayeritemaccesslogevent/startuptime.md)
- [numberOfDroppedVideoFrames](avfoundation/avplayeritemaccesslogevent/numberofdroppedvideoframes.md)
- [numberOfStalls](avfoundation/avplayeritemaccesslogevent/numberofstalls.md)
- [numberOfSegmentsDownloaded](avfoundation/avplayeritemaccesslogevent/numberofsegmentsdownloaded.md)
- [segmentsDownloadedDuration](avfoundation/avplayeritemaccesslogevent/segmentsdownloadedduration.md)
- [downloadOverdue](avfoundation/avplayeritemaccesslogevent/downloadoverdue.md)
