Asset Manipulation

Retrieve assets for playback or to gather information about an asset.

Topics

Asset Information

class AVAssetCache

An object used to inspect the state of an asset’s locally cached media data.

class AVFragmentedAsset

An asset you can extend the total duration of without modifying the previously existing data structure.

class AVFragmentedAssetMinder

An object that periodically checks whether fragmented assets had additional fragments appended to them.

Track Information

protocol AVAsynchronousKeyValueLoading

Methods you can implement to use an asset or asset track without blocking the calling thread.

class AVAssetTrackGroup

A group of related tracks in an asset.

class AVAssetTrackSegment

A segment of an asset track, consisting of a time mapping from the source to the asset track timeline.

class AVFragmentedAssetTrack

An object used for handling tracks of fragmented assets.

Asset Retrieval

class AVURLAsset

A concrete subclass of AVAsset that's used to initialize an asset from a local or remote URL.

class AVAssetDownloadURLSession

A URL session used to support the creation and execution of asset download tasks.

class AVAssetResourceLoader

An object that mediates resource requests from a URL asset.

class AVAssetResourceLoadingRequest

An object that encapsulates information about a resource request issued by a resource loader object.

var response: URLResponse?

The URL response for the loading request.

class AVAssetResourceRenewalRequest

An object that encapsulates information about a resource request issued by a resource loader to renew a previously issued request.

class AVAssetResourceLoadingContentInformationRequest

A query used to get essential information about a resource referenced by an asset resource loading request.

class AVAssetResourceLoadingDataRequest

An object used to request data from a resource referenced by an asset resource loading request.

class AVAssetDownloadStorageManager

A manager of policies used to automatically purge downloaded assets.

class AVAssetDownloadStorageManagementPolicy

A set of properties that defines a policy to automatically purge downloaded assets.

class AVMutableAssetDownloadStorageManagementPolicy

A mutable set of properties that defines a policy to automatically purge downloaded assets.

See Also

Media Assets

About the Asset Model

Understand how assets are used as the building blocks for media players.

class AVAsset

The abstract class used to model timed audiovisual media such as videos and sounds.

class AVAssetTrack

An object that provides the track-level inspection interface for an asset’s media tracks.

Asset File Import and Export

Import and export media samples to and from the file system.