---
title: segments
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritemintegratedtimelinesnapshot/segments
---

# segments

The segments for this snapshot.

## Declaration

```swift
var segments: [AVPlayerItemSegment] { get }
```

## Discussion

Discussion The system presents segments in chronological order, contiguous from the previous element, and non-overlapping.

## See Also

### Inspecting the snapshot

- [duration](avfoundation/avplayeritemintegratedtimelinesnapshot/duration.md)
- [currentSegment](avfoundation/avplayeritemintegratedtimelinesnapshot/currentsegment.md)
- [AVPlayerItemSegment](avfoundation/avplayeritemsegment.md)
- [currentTime](avfoundation/avplayeritemintegratedtimelinesnapshot/currenttime.md)
- [currentDate](avfoundation/avplayeritemintegratedtimelinesnapshot/currentdate.md)
