I have a number of videos streamable from different URL links. I want to be able to download these videos using the DownloadManager class so that the downloaded videos can be PRIVATE and ONLY ACCESSIBLE by the app. I understand setting the DownloadManager.request as below
request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, "fileName");
will make the downloaded video accessible by other apps, but THAT IS NOT WHAT I WANT. I want the downloaded videos to only be accessible by my app. I would really appreciate it if anyone can help with how I can achieve this