Class AdViewProgressUpdateTask
Created by matthew.rolufs on 9/1/15.
-
Nested Class Summary
Nested classes/interfaces inherited from class android.os.AsyncTask
android.os.AsyncTask.Status -
Field Summary
Fields inherited from class android.os.AsyncTask
SERIAL_EXECUTOR, THREAD_POOL_EXECUTOR -
Constructor Summary
ConstructorsConstructorDescriptionAdViewProgressUpdateTask(VideoCreativeViewListener trackEventListener, int duration) -
Method Summary
Modifier and TypeMethodDescriptionprotected VoiddoInBackground(Void... params) longbooleanbooleanbooleanprotected voidonPostExecute(Void aVoid) protected voidonProgressUpdate(Long... values) voidsetVastVideoDuration(long vastVideoDuration) Methods inherited from class android.os.AsyncTask
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled, onCancelled, onCancelled, onPreExecute, publishProgress
-
Constructor Details
-
AdViewProgressUpdateTask
public AdViewProgressUpdateTask(VideoCreativeViewListener trackEventListener, int duration) throws AdException - Throws:
AdException
-
-
Method Details
-
doInBackground
-
onPostExecute
-
onProgressUpdate
-
getCurrentPosition
public long getCurrentPosition() -
getFirstQuartile
public boolean getFirstQuartile() -
getMidpoint
public boolean getMidpoint() -
getThirdQuartile
public boolean getThirdQuartile() -
setVastVideoDuration
public void setVastVideoDuration(long vastVideoDuration)
-