PreviewLoader

interface PreviewLoader

The component responsible for loading TimedThumbnail from a given ThumbnailDocument and the playhead position, into the ThumbnailView.

Inheritors

Properties

Link copied to clipboard
An Empty Preview Loader.

Functions

Link copied to clipboard
abstract fun loadPreview(thumbnailView: ThumbnailView, playheadPosition: Long, duration: Long)
Given a playhead position, finds a TimedThumbnail in the ThumbnailDocument set with setThumbnailDocument, and loads it into the ThumbnailView.
Link copied to clipboard
abstract fun setThumbnailDocument(thumbnailDocument: ThumbnailDocument)
Sets the ThumbnailDocument containing the TimedThumbnail corresponding to a particular com.brightcove.player.model.