Back to Exoplayer

DownloaderFactory (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/offline/DownloaderFactory.html

latest1.9 KB
Original Source

Package com.google.android.exoplayer2.offline

Interface DownloaderFactory

  • All Known Implementing Classes:DefaultDownloaderFactory

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceDownloaderFactory

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Creates Downloaders for given DownloadRequests.

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | Downloader | createDownloader​(DownloadRequest request) | Deprecated.

Creates a Downloader to perform the given DownloadRequest. |

Method Detail

- 

createDownloader

[Downloader](Downloader.html "interface in com.google.android.exoplayer2.offline")createDownloader​([DownloadRequest](DownloadRequest.html "class in com.google.android.exoplayer2.offline")request)

Deprecated.

Creates a Downloader to perform the given DownloadRequest. Parameters:request - The download request.Returns:The downloader.