Name Description Size
ActionFile.java Loads {@link DownloadRequest DownloadRequests} from legacy action files. @deprecated Legacy action files should be merged into download indices using {@link ActionFileUpgradeUtil}. 5681
ActionFileUpgradeUtil.java Utility class for upgrading legacy action files into {@link DefaultDownloadIndex}. 4635
DefaultDownloaderFactory.java Default {@link DownloaderFactory}, supporting creation of progressive, DASH, HLS and SmoothStreaming downloaders. Note that for the latter three, the corresponding library module must be built into the application. 5025
DefaultDownloadIndex.java A {@link DownloadIndex} that uses SQLite to persist {@link Download Downloads}. 17091
Download.java Represents state of a download. 5635
DownloadCursor.java Provides random read-write access to the result set returned by a database query. 3817
Downloader.java Downloads and removes a piece of content. 2233
DownloaderConstructorHelper.java A helper class that holds necessary parameters for {@link Downloader} construction. 7751
DownloaderFactory.java Creates {@link Downloader Downloaders} for given {@link DownloadRequest DownloadRequests}. 1041
DownloadException.java Thrown on an error during downloading. 1072
DownloadHelper.java 46745
DownloadIndex.java An index of {@link Download Downloads}. 1879
DownloadManager.java Manages downloads. <p>Normally a download manager should be accessed via a {@link DownloadService}. When a download manager is used directly instead, downloads will be initially paused and so must be resumed by calling {@link #resumeDownloads()}. <p>A download manager instance must be accessed only from the thread that created it, unless that thread does not have a {@link Looper}. In that case, it must be accessed only from the application's main thread. Registered listeners will be called on the same thread. 48863
DownloadProgress.java Mutable {@link Download} progress. 1046
DownloadRequest.java Defines content to be downloaded. 7404
DownloadService.java A {@link Service} for downloading media. 40831
FilterableManifest.java A manifest that can generate copies of itself including only the streams specified by the given keys. @param <T> The manifest type. 1221
FilteringManifestParser.java A manifest parser that includes only the streams identified by the given stream keys. @param <T> The {@link FilterableManifest} type. 1842
package-info.java 780
ProgressiveDownloader.java A downloader for progressive media streams. <p>The downloader attempts to download the entire media bytes referenced by a {@link Uri} into a cache as defined by {@link DownloaderConstructorHelper}. Callers can use the constructor to specify a custom cache key for the downloaded bytes. <p>The downloader will avoid downloading already-downloaded media bytes. 4548
SegmentDownloader.java Base class for multi segment stream downloaders. @param <M> The type of the manifest object. 10412
StreamKey.java A key for a subset of media which can be separately loaded (a "stream"). <p>The stream key consists of a period index, a group index within the period and a track index within the group. The interpretation of these indices depends on the type of media for which the stream key is used. 3525
WritableDownloadIndex.java A writable index of {@link Download Downloads}. 3191