Interface ThumbnailDocument
- All Known Implementing Classes:
DefaultThumbnailDocument
,SSAIThumbnailDocument
public interface ThumbnailDocument
The document containing an ordered list of
TimedThumbnail
for a particular Video
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(long playheadPositionInMillis) Gets theTimedThumbnail
given the Video's playhead positiongetAll()
-
Field Details
-
EMPTY
An emptyThumbnailDocument
.get(long)
always returnTimedThumbnail.EMPTY
getAll()
always returnCollections.emptyList()
-
-
Method Details
-
get
Gets theTimedThumbnail
given the Video's playhead position- Parameters:
playheadPositionInMillis
- the video playhead position- Returns:
- a valid
TimedThumbnail
orTimedThumbnail.EMPTY
if not found
-
getAll
-