<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaIntelligence",
  "identifier" : "/documentation/MediaIntelligence/HighlightAnalysisRequest/Result/levels",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence24HighlightAnalysisRequestC6ResultV6levelsSaySo11CMTimeRangea04timeI0_Sf5leveltGvp"
  },
  "title" : "levels"
}
-->

# levels

The engagement level of each segment in the video.

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

## Discussion

Each element pairs a <doc://com.apple.documentation/documentation/CoreMedia/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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)