Package com.naver.ads.video
Class VideoProgressUpdate
-
- All Implemented Interfaces:
public final class VideoProgressUpdateDefines an update to the video's progress. For the cases where progress is requested but not yet available, VideoProgressUpdate.NOT_READY should be returned.
-
-
Field Summary
Fields Modifier and Type Field Description public final static VideoProgressUpdateNOT_READYprivate final LongcurrentTimeSecondprivate final LongcurrentTimeMillisprivate final LongbufferedTimeMillisprivate final LongdurationTimeMillis
-
Constructor Summary
Constructors Constructor Description VideoProgressUpdate(Long currentTimeMillis, Long bufferedTimeMillis, Long durationTimeMillis)Constructs a new VideoProgressUpdate instance.
-
Method Summary
Modifier and Type Method Description final LonggetCurrentTimeSecond()the current time in seconds. final LonggetCurrentTimeMillis()the current time in milliseconds. final LonggetBufferedTimeMillis()the buffered time in milliseconds. final LonggetDurationTimeMillis()the duration in milliseconds. -
-
Constructor Detail
-
VideoProgressUpdate
VideoProgressUpdate(Long currentTimeMillis, Long bufferedTimeMillis, Long durationTimeMillis)
Constructs a new VideoProgressUpdate instance.
-
-
Method Detail
-
getCurrentTimeSecond
final Long getCurrentTimeSecond()
the current time in seconds.
-
getCurrentTimeMillis
final Long getCurrentTimeMillis()
the current time in milliseconds.
-
getBufferedTimeMillis
final Long getBufferedTimeMillis()
the buffered time in milliseconds.
-
getDurationTimeMillis
final Long getDurationTimeMillis()
the duration in milliseconds.
-
-
-
-