public class ExternalFileCreator extends java.lang.Object implements DownloadFileCreator
Environment.DIRECTORY_DOWNLOADS
. Returns null in case there is no
external directory available.Constructor and Description |
---|
ExternalFileCreator() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getDownloadsFolder(android.content.Context context)
Retrieves the downloads directory used to store videos for Offline-Playback.
|
@Nullable public java.io.File getDownloadsFolder(@NonNull android.content.Context context)
getDownloadsFolder
in interface DownloadFileCreator
context
- valid Context
.AbstractOfflineCatalog.downloadVideo(Video)