---
title: AVFragmentedAsset
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avfragmentedasset
---

# AVFragmentedAsset

An asset with a duration that the system can extend without modifying its existing media data.

## Declaration

```swift
class AVFragmentedAsset
```

## Overview

Overview By using an mvex box in their moov box, QuickTime movie files and MPEG-4 files can indicate that they accommodate additional fragments. To determine whether a fragmented asset can monitor the addition of fragments, check the value of its canContainFragments property. Associate a fragmented asset with an instance of AVFragmentedAssetMinder to know when the system appends new fragments. When it has an associated asset minder, AVFragmentedAssetTrack posts AVAssetDurationDidChangeNotification notifications whenever it detects new fragments. It may also post AVAssetContainsFragmentsDidChangeNotification and AVAssetWasDefragmentedNotification, as the documentation of those notifications explains.

## Topics

### Loading tracks

- [tracks](avfoundation/avpartialasyncproperty/tracks-9z3j9.md)
- [loadTrack(withTrackID:completionHandler:)](avfoundation/avfragmentedasset/loadtrack(withtrackid:completionhandler:).md)
- [loadTracks(withMediaType:completionHandler:)](avfoundation/avfragmentedasset/loadtracks(withmediatype:completionhandler:).md)
- [loadTracks(withMediaCharacteristic:completionHandler:)](avfoundation/avfragmentedasset/loadtracks(withmediacharacteristic:completionhandler:).md)

### Accessing tracks

- [tracks](avfoundation/avfragmentedasset/tracks.md)
- [track(withTrackID:)](avfoundation/avfragmentedasset/track(withtrackid:).md)
- [tracks(withMediaType:)](avfoundation/avfragmentedasset/tracks(withmediatype:).md)
- [tracks(withMediaCharacteristic:)](avfoundation/avfragmentedasset/tracks(withmediacharacteristic:).md)

### Initializers

- [init(URL:options:)](avfoundation/avfragmentedasset/init(url:options:).md)

## Relationships

### Inherits From

- [AVURLAsset](avfoundation/avurlasset.md)

### Conforms To

- [AVAsynchronousKeyValueLoading](avfoundation/avasynchronouskeyvalueloading.md)
- [AVContentKeyRecipient](avfoundation/avcontentkeyrecipient.md)
- [AVFragmentMinding](avfoundation/avfragmentminding.md)
- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSItemProviderReading](foundation/nsitemproviderreading.md)
- [NSItemProviderWriting](foundation/nsitemproviderwriting.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Fragmented assets

- [AVFragmentedAssetTrack](avfoundation/avfragmentedassettrack.md)
- [AVFragmentedAssetMinder](avfoundation/avfragmentedassetminder.md)
- [AVFragmentMinding](avfoundation/avfragmentminding.md)
