Interface DownloadFileCreator

  • All Known Implementing Classes:
    ExternalFileCreator

    public interface DownloadFileCreator
    Interface used to provide the downloads directory for Offline-Playback feature.
    • 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 - valid Context.
        Returns:
        File path with the directory to store offline videos.
        See Also:
        AbstractOfflineCatalog.downloadVideo(Video)