androidx.media3.exoplayer.offline


Annotations

Download.FailureReason

Failure reasons.

Download.State

Download states.

Interfaces

DownloadCursor

Provides random read-write access to the result set returned by a database query.

DownloadHelper.Callback

A callback to be notified when the DownloadHelper is prepared.

DownloadIndex

An index of Downloads.

DownloadManager.Listener

Listener for DownloadManager events.

Downloader

Downloads and removes a piece of content.

Downloader.ProgressListener

Receives progress updates during download operations.

DownloaderFactory

Creates Downloaders for given DownloadRequests.

FilterableManifest

A manifest that can generate copies of itself including only the streams specified by the given keys.

WritableDownloadIndex

A writable index of Downloads.

Classes

DefaultDownloadIndex

A DownloadIndex that uses SQLite to persist Downloads.

DefaultDownloaderFactory

Default DownloaderFactory, supporting creation of progressive, DASH, HLS and SmoothStreaming downloaders.

Download

Represents state of a download.

DownloadHelper

A helper for initializing and removing downloads.

DownloadManager

Manages downloads.

DownloadNotificationHelper

Helper for creating download notifications.

DownloadProgress

Mutable Download progress.

DownloadRequest

Defines content to be downloaded.

DownloadRequest.Builder

A builder for download requests.

DownloadService

A Service for downloading media.

FilteringManifestParser

A manifest parser that includes only the streams identified by the given stream keys.

ProgressiveDownloader

A downloader for progressive media streams.

SegmentDownloader

Base class for multi segment stream downloaders.

SegmentDownloader.Segment

Smallest unit of content to be downloaded.

Exceptions

DownloadException

Thrown on an error during downloading.

DownloadHelper.LiveContentUnsupportedException

Thrown at an attempt to download live content.

DownloadRequest.UnsupportedRequestException

Thrown when the encoded request data belongs to an unsupported request type.