google / google/ExoPlayer

Option to set requirements for individual downloads

Open
#6,367 3 comments 4 reactions 1 assignee Assigned to @marcbaechinger View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### Use case description
I have a preference settings screen in my app, where I can enable or disable downloads with cellular data. But i'm trying to allow to start a single download using cellular network (even cellular downloads are disabled in settings), but all other downloads should not start or continue if the option in the settings does not allow it.

### Proposed solution
An option that allow to set requirements to a single download request.

### Alternatives considered
An option to ignore requirements for a single download request.

If there is an option or a workaround to this please let me know.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.