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() |
int |
getRetryCount() |
String |
getUrl() |
void |
onLoadError(Throwable e,
boolean mayRetry) |
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()
public String getUrl()
public void onLoadError(Throwable e, boolean mayRetry)
public void tryDownload()
public void tryInstall(String code)
Copyright © 2018. All rights reserved.