---
title: levels
framework: Media Intelligence
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: mediaintelligence/highlightanalysisrequest/result/levels
---

# levels

The engagement level of each segment in the video.

## Declaration

```swift
let levels: [(timeRange: CMTimeRange, level: Float)]
```

## Mentioned in

Finding the best moments in a video

## Discussion

Discussion Each element pairs a CMTimeRange with a floating-point level value from 0 (least engaging) to 9 (most engaging). The array covers every segment in the video, not just the highlights.

## See Also

### Inspecting the result

- [highlights](mediaintelligence/highlightanalysisrequest/result/highlights.md)
