---
title: segments
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avinterfacetimecontrollable-5ss8v/segments
---

# segments

Segments representing different content types within the timeline. All segments should be contiguous and collectively cover the entire timeline duration without gaps or overlaps. Each segment defines a specific portion of content (such as main program, advertisements, or bonus material) with its own playback characteristics. Must be key-value observable.

## Declaration

```occ
@property (nonatomic, copy, readonly) NSArray<AVInterfaceTimelineSegment *> * segments;
```

## See Also

### Inspecting the timeline

- [timeRange](avkit/avinterfacetimecontrollable-5ss8v/timerange.md)
- [currentPlaybackPosition](avkit/avinterfacetimecontrollable-5ss8v/currentplaybackposition.md)
- [currentSegment](avkit/avinterfacetimecontrollable-5ss8v/currentsegment.md)
- [seekableTimeRanges](avkit/avinterfacetimecontrollable-5ss8v/seekabletimeranges.md)
