Package com.brightcove.ssai.ui
Class SSAIThumbnailDocumentCreatorWrapper
java.lang.Object
com.brightcove.ssai.ui.SSAIThumbnailDocumentCreatorWrapper
- All Implemented Interfaces:
ThumbnailDocumentCreator
A wrapping
ThumbnailDocumentCreator
for the SSAI plugin that incorporates the Timeline
to account for the relative and abolute playhead position given Ad breaks present in the Video.-
Constructor Summary
ConstructorDescriptionSSAIThumbnailDocumentCreatorWrapper
(ThumbnailDocumentCreator thumbnailDocumentCreator, Timeline timeline) Creates the SSAI Thumbnail Creator instance by wrapping an existingThumbnailDocumentCreator
implementation along with aTimeline
instance. -
Method Summary
Modifier and TypeMethodDescriptioncreateThumbnailDocument
(List<TimedThumbnail> timedThumbnailList) Creates an implementation ofThumbnailDocument
given a list ofTimedThumbnail
-
Constructor Details
-
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 Details
-
createThumbnailDocument
@NonNull public ThumbnailDocument createThumbnailDocument(@NonNull 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
-