-
public interface PreviewLoader
The component responsible for loading TimedThumbnail from a given ThumbnailDocument and the playhead position, into the ThumbnailView.
-
-
Method Summary
Modifier and Type Method Description abstract void
setThumbnailDocument(@NonNull() ThumbnailDocument thumbnailDocument)
Sets the ThumbnailDocument containing the TimedThumbnail corresponding to a particular com.brightcove.player.model.Video. abstract void
loadPreview(@NonNull() ThumbnailView thumbnailView, long playheadPosition, long duration)
Given a playhead position, finds a TimedThumbnail in the ThumbnailDocument set with setThumbnailDocument, and loads it into the ThumbnailView. -
-
Method Detail
-
setThumbnailDocument
abstract void setThumbnailDocument(@NonNull() ThumbnailDocument thumbnailDocument)
Sets the ThumbnailDocument containing the TimedThumbnail corresponding to a particular com.brightcove.player.model.Video.
- Parameters:
thumbnailDocument
- the Thumbnail document
-
loadPreview
abstract void loadPreview(@NonNull() ThumbnailView thumbnailView, long playheadPosition, long duration)
Given a playhead position, finds a TimedThumbnail in the ThumbnailDocument set with setThumbnailDocument, and loads it into the ThumbnailView.
- Parameters:
thumbnailView
- the view to load the preview thumbnail imageplayheadPosition
- the Video's playhead positionduration
- the Video's duration
-
-
-
-