-
public class FileDownloadTask extends BaseNetworkTask
More of a general task for downloading files w/o feedback on progress
-
-
Field Summary
Fields Modifier and Type Field Description private booleanignoreContentLength
-
Constructor Summary
Constructors Constructor Description FileDownloadTask(FileDownloadListener handler, File file)Creates a network object
-
Method Summary
Modifier and Type Method Description voidsetIgnoreContentLength(boolean value)BaseNetworkTask.GetUrlResultcustomParser(int code, URLConnection urlConnection)-
Methods inherited from class com.appstock.sdk.rendering.networking.BaseNetworkTask
destroy, sendRequest, validParams -
Methods inherited from class android.os.AsyncTask
cancel, execute, execute, executeOnExecutor, get, getStatus, isCancelled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FileDownloadTask
FileDownloadTask(FileDownloadListener handler, File file)
Creates a network object- Parameters:
handler- instance of a class handling ad server responses (like , InterstitialSwitchActivity)
-
-
Method Detail
-
setIgnoreContentLength
void setIgnoreContentLength(boolean value)
-
customParser
BaseNetworkTask.GetUrlResult customParser(int code, URLConnection urlConnection)
-
-
-
-