protected static class LoadingStrategyBase.RequestData extends Object
Constructor and Description |
---|
RequestData(String url,
AsyncFragmentLoader.LoadTerminatedHandler errorHandler,
int fragment,
LoadingStrategyBase.DownloadStrategy downloadStrategy,
int maxRetryCount) |
Modifier and Type | Method and Description |
---|---|
AsyncFragmentLoader.LoadTerminatedHandler |
getErrorHandler() |
int |
getFragment() |
String |
getOriginalUrl() |
int |
getRetryCount() |
String |
getUrl() |
void |
onLoadError(Throwable e,
boolean mayRetry) |
protected void |
setRetryCount(int retryCount) |
protected void |
setUrl(String url) |
void |
tryDownload() |
void |
tryInstall(String code) |
public RequestData(String url, AsyncFragmentLoader.LoadTerminatedHandler errorHandler, int fragment, LoadingStrategyBase.DownloadStrategy downloadStrategy, int maxRetryCount)
public AsyncFragmentLoader.LoadTerminatedHandler getErrorHandler()
public int getFragment()
public int getRetryCount()
protected void setRetryCount(int retryCount)
public String getUrl()
protected void setUrl(String url)
public String getOriginalUrl()
public void onLoadError(Throwable e, boolean mayRetry)
public void tryDownload()
public void tryInstall(String code)
Copyright © 2018. All rights reserved.