Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Capability to Provide a DocumentFile as the Download Location #3

Open
sathukorale opened this issue Jun 26, 2019 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@sathukorale
Copy link
Owner

sathukorale commented Jun 26, 2019

Currently the only method that lets you initiate a download is DownloadManager.Instance.Download(string url, string downloadLocation, string fileName, string mimeType) method and the download location is passed as a string. Even though indirectly this location will be translated into the corresponding DocumentFile (with the help of the StoragePermissionsHandler.ICallback callback) a user/developer should be able to specify this directly. This is extremely relevant where internal storage is concerned (Since we cannot access the root of the PrimaryStorageVolume directly).

Ultimately there should be two options.

  • DownloadManager.Instance.Download(string url, string downloadLocation, sting fileName, string mimeType)
  • DownloadManager.Instance.Download(string url, DocumentFile downloadLocation, string fileName, string mimeType)
@sathukorale sathukorale added the enhancement New feature or request label Jun 26, 2019
@sathukorale sathukorale self-assigned this Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant