Interface TimedThumbnailFilter
-
- All Known Implementing Classes:
DefaultTimedThumbnailFilter
public interface TimedThumbnailFilter
TheTimedThumbnail
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 ofTimedThumbnail
.
-
-
Field Summary
Fields Modifier and Type Field Description static TimedThumbnailFilter
NO_FILTER
Returns the same list ofTimedThumbnail
received without filtering any image.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<TimedThumbnail>
filter(java.util.List<TimedThumbnail> timedThumbnailList)
Receives the list ofTimedThumbnail
and iterates over all availableTimedThumbnail
and selects a sublist of it.
-
-
-
Field Detail
-
NO_FILTER
static final TimedThumbnailFilter NO_FILTER
Returns the same list ofTimedThumbnail
received without filtering any image.
-
-
Method Detail
-
filter
@NonNull java.util.List<TimedThumbnail> filter(@NonNull java.util.List<TimedThumbnail> timedThumbnailList)
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
-
-