<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMetricDownloadSummaryEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMetricDownloadSummaryEvent"
  },
  "title" : "AVMetricDownloadSummaryEvent"
}
-->

# AVMetricDownloadSummaryEvent

Represents a summary metric event with aggregated metrics for the entire download task.

```
class AVMetricDownloadSummaryEvent
```

## Overview

Subclasses of this type that are used from Swift must fulfill the requirements of a Sendable type.

## Topics

### Inspecting the download summary

[`downloadDuration`](/documentation/AVFoundation/AVMetricDownloadSummaryEvent/downloadDuration)

Returns the total duration of the download in seconds.

[`bytesDownloadedCount`](/documentation/AVFoundation/AVMetricDownloadSummaryEvent/bytesDownloadedCount)

Returns the total number of bytes downloaded by the download task.

[`mediaResourceRequestCount`](/documentation/AVFoundation/AVMetricDownloadSummaryEvent/mediaResourceRequestCount)

Returns the total number of media requests performed by the download task. This includes playlist requests, media segment requests, and content key requests.

[`recoverableErrorCount`](/documentation/AVFoundation/AVMetricDownloadSummaryEvent/recoverableErrorCount)

Returns the total count of recoverable errors encountered during the download. If no errors were encountered, returns 0.

[`variants`](/documentation/AVFoundation/AVMetricDownloadSummaryEvent/variants)

Returns the variants that were downloaded.

[`errorEvent`](/documentation/AVFoundation/AVMetricDownloadSummaryEvent/errorEvent)

Returns the error event if any. If no value is available, returns nil.



---

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)