---
title: AVPlayerItemSegment
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avplayeritemsegment
---

# AVPlayerItemSegment

An immutable object that represents a segment of time on the integrated timeline.

## Declaration

```swift
class AVPlayerItemSegment
```

## Topics

### Identifying the type

- [segmentType](avfoundation/avplayeritemsegment/segmenttype-swift.property.md)
- [AVPlayerItemSegment.SegmentType](avfoundation/avplayeritemsegment/segmenttype-swift.enum.md)

### Inspecting the segment

- [timeMapping](avfoundation/avplayeritemsegment/timemapping.md)
- [loadedTimeRanges](avfoundation/avplayeritemsegment/loadedtimeranges-879hc.md)
- [startDate](avfoundation/avplayeritemsegment/startdate.md)
- [interstitialEvent](avfoundation/avplayeritemsegment/interstitialevent.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Inspecting the snapshot

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