Package com.brightcove.player.offline
Interface DownloadFileCreator
-
- All Known Implementing Classes:
ExternalFileCreator
public interface DownloadFileCreator
Interface used to provide the downloads directory for Offline-Playback feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getDownloadsFolder(android.content.Context context)
Retrieves the downloads directory used to store videos for Offline-Playback.
-
-
-
Method Detail
-
getDownloadsFolder
@Nullable java.io.File getDownloadsFolder(@NonNull android.content.Context context)
Retrieves the downloads directory used to store videos for Offline-Playback. In case the File returned has null value, it won't be possible to store/download videos or offline information.- Parameters:
context
- validContext
.- Returns:
- File path with the directory to store offline videos.
- See Also:
AbstractOfflineCatalog.downloadVideo(Video)
-
-