-
- All Implemented Interfaces:
-
java.lang.Runnable
public class AdPopcornSSPDownloaderThread extends Thread
-
-
Constructor Summary
Constructors Constructor Description AdPopcornSSPDownloaderThread(Context context, String url, ImageView imageView, AdPopcornSSPDownloader.SSPDownloadCallback callback, int imageViewWidth, int imageViewHeight)AdPopcornSSPDownloaderThread(Context context, String url, AdPopcornSSPDownloader.SSPDownloadCallback callback, int imageViewWidth, int imageViewHeight)
-
Method Summary
Modifier and Type Method Description voidrun()static BitmapdownloadBitmap(Context context, String urls, int imageViewWidth, int imageViewHeight)voiddownloadVideo(String urls)voidsetDownloadedDrawable(AdPopcornSSPDownloader.DownloadedDrawable dd)voidcancel(boolean flag)voidsendResult(Bitmap bitmap)-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, start, stop, suspend, toString, yield -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AdPopcornSSPDownloaderThread
AdPopcornSSPDownloaderThread(Context context, String url, ImageView imageView, AdPopcornSSPDownloader.SSPDownloadCallback callback, int imageViewWidth, int imageViewHeight)
-
AdPopcornSSPDownloaderThread
AdPopcornSSPDownloaderThread(Context context, String url, AdPopcornSSPDownloader.SSPDownloadCallback callback, int imageViewWidth, int imageViewHeight)
-
-
Method Detail
-
run
void run()
-
downloadBitmap
static Bitmap downloadBitmap(Context context, String urls, int imageViewWidth, int imageViewHeight)
-
downloadVideo
void downloadVideo(String urls)
-
setDownloadedDrawable
void setDownloadedDrawable(AdPopcornSSPDownloader.DownloadedDrawable dd)
-
cancel
void cancel(boolean flag)
-
sendResult
void sendResult(Bitmap bitmap)
-
-
-
-