Interface ThumbnailDocument
-
- All Known Implementing Classes:
DefaultThumbnailDocument
,SSAIThumbnailDocument
public interface ThumbnailDocument
The document containing an ordered list ofTimedThumbnail
for a particularVideo
-
-
Field Summary
Fields Modifier and Type Field Description static ThumbnailDocument
EMPTY
An emptyThumbnailDocument
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimedThumbnail
get(long playheadPositionInMillis)
Gets theTimedThumbnail
given the Video's playhead positionjava.util.List<TimedThumbnail>
getAll()
-
-
-
Field Detail
-
EMPTY
static final ThumbnailDocument EMPTY
An emptyThumbnailDocument
.get(long)
always returnTimedThumbnail.EMPTY
getAll()
always returnCollections.emptyList()
-
-
Method Detail
-
get
@NonNull TimedThumbnail get(long playheadPositionInMillis)
Gets theTimedThumbnail
given the Video's playhead position- Parameters:
playheadPositionInMillis
- the video playhead position- Returns:
- a valid
TimedThumbnail
orTimedThumbnail.EMPTY
if not found
-
getAll
@NonNull java.util.List<TimedThumbnail> getAll()
-
-