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

# segments

The time mappings from the track’s media samples to its timeline.

## Declaration

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