public class SSAIThumbnailDocumentCreatorWrapper extends java.lang.Object implements ThumbnailDocumentCreator
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 and Description |
---|
SSAIThumbnailDocumentCreatorWrapper(ThumbnailDocumentCreator thumbnailDocumentCreator,
Timeline timeline)
Creates the SSAI Thumbnail Creator instance by wrapping an existing
ThumbnailDocumentCreator implementation along with
a Timeline instance. |
Modifier and Type | Method and Description |
---|---|
ThumbnailDocument |
createThumbnailDocument(java.util.List<TimedThumbnail> timedThumbnailList)
Creates an implementation of
ThumbnailDocument given a list of TimedThumbnail |
public SSAIThumbnailDocumentCreatorWrapper(@NonNull ThumbnailDocumentCreator thumbnailDocumentCreator, @NonNull Timeline timeline)
ThumbnailDocumentCreator
implementation along with
a Timeline
instance.thumbnailDocumentCreator
- an existing ThumbnailDocumentCreator
implementationtimeline
- the SSAI Video's timeline@NonNull public ThumbnailDocument createThumbnailDocument(@NonNull java.util.List<TimedThumbnail> timedThumbnailList)
ThumbnailDocumentCreator
ThumbnailDocument
given a list of TimedThumbnail
createThumbnailDocument
in interface ThumbnailDocumentCreator
timedThumbnailList
- list of TimedThumbnail