-
Notifications
You must be signed in to change notification settings - Fork 324
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
FetchConst
should probably be public
#48
Comments
@jacobtabak the Fetch class implements FetchConst. You can access the different statuses and error messages like so: |
Hm, I don't find that very intuitive. What is the point of having those consts live anywhere other than in the place they are defined? It seems like FetchConst should be a public class and all of the members should be |
as tonyo said, the Fetch class implements FetchConst |
When you query the status of a download, you get a
RequestInfo
object that has astatus
value which is an integer that corresponds to the status codes inFetchConst
. However, sinceFetchConst
is not public, there is no way to to perform logic on the status unless the client app hard codes those values.The text was updated successfully, but these errors were encountered: