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
FieldsModifier and TypeFieldDescriptionstatic final TimedThumbnailFilterReturns the same list ofTimedThumbnailreceived without filtering any image. -
Method Summary
Modifier and TypeMethodDescriptionfilter(List<TimedThumbnail> timedThumbnailList) Receives the list ofTimedThumbnailand iterates over all availableTimedThumbnailand selects a sublist of it.
-
Field Details
-
NO_FILTER
Returns the same list ofTimedThumbnailreceived without filtering any image.
-
-
Method Details
-
filter
Receives the list ofTimedThumbnailand iterates over all availableTimedThumbnailand selects a sublist of it.- Parameters:
timedThumbnailList- the list ofTimedThumbnailto be filtered.- Returns:
- the filtered list of
TimedThumbnail
-