public interface ThumbnailDocument
TimedThumbnail
for a particular Video
Modifier and Type | Field and Description |
---|---|
static ThumbnailDocument |
EMPTY
An empty
ThumbnailDocument . |
Modifier and Type | Method and Description |
---|---|
TimedThumbnail |
get(long playheadPositionInMillis)
Gets the
TimedThumbnail given the Video's playhead position |
java.util.List<TimedThumbnail> |
getAll() |
static final ThumbnailDocument EMPTY
ThumbnailDocument
.
get(long)
always return TimedThumbnail.EMPTY
getAll()
always return Collections.emptyList()
@NonNull TimedThumbnail get(long playheadPositionInMillis)
TimedThumbnail
given the Video's playhead positionplayheadPositionInMillis
- the video playhead positionTimedThumbnail
or TimedThumbnail.EMPTY
if not found@NonNull java.util.List<TimedThumbnail> getAll()