---
title: AVAssetDownloadTask
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avassetdownloadtask
---

# AVAssetDownloadTask

A session used to download HTTP Live Streaming assets.

## Declaration

```swift
class AVAssetDownloadTask
```

## Overview

Overview This class is a subclass of URLSessionTask that you use to download HTTP Live Streaming assets. You create instances of this class by calling makeAssetDownloadTask(downloadConfiguration:) on the download session.

## Topics

### Accessing task information

- [urlAsset](avfoundation/avassetdownloadtask/urlasset.md)
- [loadedTimeRanges](avfoundation/avassetdownloadtask/loadedtimeranges.md)
- [options](avfoundation/avassetdownloadtask/options.md)
- [destinationURL](avfoundation/avassetdownloadtask/destinationurl.md)

## Relationships

### Inherits From

- [URLSessionTask](foundation/urlsessiontask.md)

### Conforms To

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

## See Also

### Asset downloading

- [Using AVFoundation to play and persist HTTP live streams](avfoundation/using-avfoundation-to-play-and-persist-http-live-streams.md)
- [AVAssetDownloadURLSession](avfoundation/avassetdownloadurlsession.md)
- [AVAggregateAssetDownloadTask](avfoundation/avaggregateassetdownloadtask.md)
