DownloadRequest
Represents the incoming download request.
Constructors
Creates DownloadRequest instance.
Types
Builds DownloadRequest instance.
Properties
The preferences of elementary streams.
The optional URL to retrieve DRM License if the content is encrypted.
The DRMScheme of the passed drmLicenseURL.
The expiration of the content being downloaded.
The download ID that can optionally be configured at the time of request instantiation. This will be reflected in the result's androidx.media3.exoplayer.offline.DownloadRequest.id property and can help in uniquely identifying a androidx.media3.exoplayer.offline.Download. By default, this will be configured as the passed mediaURL property.
The application defined data associated with the DownloadRequest. May be empty.
The remaining time, in seconds, for the downloaded asset's playback expiry.