Package com.brightcove.player.offline
Class ExternalFileCreator
java.lang.Object
com.brightcove.player.offline.ExternalFileCreator
- All Implemented Interfaces:
DownloadFileCreator
Retrieves the external
Environment.DIRECTORY_DOWNLOADS. Returns null in case there is no
external directory available.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDownloadsFolder(android.content.Context context) Retrieves the downloads directory used to store videos for Offline-Playback.
-
Constructor Details
-
ExternalFileCreator
public ExternalFileCreator()
-
-
Method Details
-
getDownloadsFolder
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.- Specified by:
getDownloadsFolderin interfaceDownloadFileCreator- Parameters:
context- validContext.- Returns:
- File path with the directory to store offline videos.
- See Also:
-