org.botlibre.sdk.activity.actions
Class HttpGetImageAction
java.lang.Object
android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.String>
org.botlibre.sdk.activity.actions.HttpAction
org.botlibre.sdk.activity.actions.HttpGetImageAction
- Direct Known Subclasses:
- HttpGetVideoAction
public class HttpGetImageAction
- extends HttpAction
Nested classes/interfaces inherited from class android.os.AsyncTask |
android.os.AsyncTask.Status |
Fields inherited from class android.os.AsyncTask |
SERIAL_EXECUTOR, THREAD_POOL_EXECUTOR |
Method Summary |
static void |
clearFileCache(android.content.Context context)
|
static void |
fetchImage(android.app.Activity activity,
java.lang.String image,
android.view.View view)
|
static java.io.File |
getFile(java.lang.String filename,
android.content.Context context)
|
static java.io.File |
getFileCacheDir(android.content.Context context)
|
Methods inherited from class android.os.AsyncTask |
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_HEIGHT
public static int MAX_HEIGHT
MAX_WIDTH
public static int MAX_WIDTH
MAX_FILES
public static int MAX_FILES
downloading
public static volatile boolean downloading
HttpGetImageAction
public HttpGetImageAction(android.app.Activity activity)
HttpGetImageAction
public HttpGetImageAction(android.app.Activity activity,
java.lang.String image,
android.view.View view)
clearFileCache
public static void clearFileCache(android.content.Context context)
getFileCacheDir
public static java.io.File getFileCacheDir(android.content.Context context)
getFile
public static java.io.File getFile(java.lang.String filename,
android.content.Context context)
fetchImage
public static void fetchImage(android.app.Activity activity,
java.lang.String image,
android.view.View view)