Package com.brightcove.ssai.ui
Class SSAIThumbnailDocumentCreatorWrapper
- java.lang.Object
-
- com.brightcove.ssai.ui.SSAIThumbnailDocumentCreatorWrapper
-
- All Implemented Interfaces:
ThumbnailDocumentCreator
public class SSAIThumbnailDocumentCreatorWrapper extends java.lang.Object implements ThumbnailDocumentCreator
A wrappingThumbnailDocumentCreator
for the SSAI plugin that incorporates theTimeline
to account for the relative and abolute playhead position given Ad breaks present in the Video.
-
-
Constructor Summary
Constructors Constructor Description SSAIThumbnailDocumentCreatorWrapper(ThumbnailDocumentCreator thumbnailDocumentCreator, Timeline timeline)
Creates the SSAI Thumbnail Creator instance by wrapping an existingThumbnailDocumentCreator
implementation along with aTimeline
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThumbnailDocument
createThumbnailDocument(java.util.List<TimedThumbnail> timedThumbnailList)
Creates an implementation ofThumbnailDocument
given a list ofTimedThumbnail
-
-
-
Constructor Detail
-
SSAIThumbnailDocumentCreatorWrapper
public SSAIThumbnailDocumentCreatorWrapper(@NonNull ThumbnailDocumentCreator thumbnailDocumentCreator, @NonNull Timeline timeline)
Creates the SSAI Thumbnail Creator instance by wrapping an existingThumbnailDocumentCreator
implementation along with aTimeline
instance.- Parameters:
thumbnailDocumentCreator
- an existingThumbnailDocumentCreator
implementationtimeline
- the SSAI Video's timeline
-
-
Method Detail
-
createThumbnailDocument
@NonNull public ThumbnailDocument createThumbnailDocument(@NonNull java.util.List<TimedThumbnail> timedThumbnailList)
Description copied from interface:ThumbnailDocumentCreator
Creates an implementation ofThumbnailDocument
given a list ofTimedThumbnail
- Specified by:
createThumbnailDocument
in interfaceThumbnailDocumentCreator
- Parameters:
timedThumbnailList
- list ofTimedThumbnail
- Returns:
- a ThumbnailDocument
-
-