---
title: segments
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avpartialasyncproperty/segments
---

# segments

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

## Declaration

```swift
static var segments: AVAsyncProperty<Root, [AVAssetTrackSegment]> { get }
```

## Discussion

Discussion Use the load(_:isolation:) method to retrieve the property value.

## See Also

### Loading track segments

- [loadSegment(forTrackTime:completionHandler:)](avfoundation/avassettrack/loadsegment(fortracktime:completionhandler:).md)
- [loadSamplePresentationTime(forTrackTime:completionHandler:)](avfoundation/avassettrack/loadsamplepresentationtime(fortracktime:completionhandler:).md)
- [AVAssetTrackSegment](avfoundation/avassettracksegment.md)
