Interface TimedThumbnailFilter
- All Known Implementing Classes:
DefaultTimedThumbnailFilter
public interface TimedThumbnailFilter
The
TimedThumbnail
available for a video may be dependent on the duration of such a video,
going from dozens to hundreds of images.
This filter allows to reduce the amount of images present in the list of TimedThumbnail
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final TimedThumbnailFilter
Returns the same list ofTimedThumbnail
received without filtering any image. -
Method Summary
Modifier and TypeMethodDescriptionfilter
(List<TimedThumbnail> timedThumbnailList) Receives the list ofTimedThumbnail
and iterates over all availableTimedThumbnail
and selects a sublist of it.
-
Field Details
-
NO_FILTER
Returns the same list ofTimedThumbnail
received without filtering any image.
-
-
Method Details
-
filter
Receives the list ofTimedThumbnail
and iterates over all availableTimedThumbnail
and selects a sublist of it.- Parameters:
timedThumbnailList
- the list ofTimedThumbnail
to be filtered.- Returns:
- the filtered list of
TimedThumbnail
-