<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence24HighlightAnalysisRequestC6ResultV"
  },
  "title" : "HighlightAnalysisRequest.Result"
}
-->

# HighlightAnalysisRequest.Result

The output of a highlight analysis.

```
struct Result
```

## Overview

This type describes the highlights and
engagement levels the framework finds in a video.

[`highlights`](/documentation/MediaIntelligence/HighlightAnalysisRequest/Result/highlights) lists the time ranges
the framework identifies as highlights. Use these ranges to build a
highlight reel or to seek directly to the most interesting moments.

[`levels`](/documentation/MediaIntelligence/HighlightAnalysisRequest/Result/levels) provides a finer-grained
view where every segment in the video gets a floating-point engagement
level from `0` (least engaging) to `9` (most engaging). Use these
values to visualize a video’s pacing or to let people scrub through
segments by interest level.

## Topics

### Inspecting the result

[`let highlights: [CMTimeRange]`](/documentation/MediaIntelligence/HighlightAnalysisRequest/Result/highlights)

The time ranges the framework identifies as highlights.

[`let levels: [(timeRange: CMTimeRange, level: Float)]`](/documentation/MediaIntelligence/HighlightAnalysisRequest/Result/levels)

The engagement level of each segment in the video.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Result`](/documentation/MediaIntelligence/VideoAnalyzer/Result)

[`Sendable`](/documentation/Swift/Sendable)

---

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)