Package com.castlabs.sdk.thumbs
Interface StandaloneThumbnailProvider
- All Superinterfaces:
ThumbnailProvider
Thumbnail provider which can be used without a
player instance
.
If a DASH live stream is provided, it will keep updating the thumbnail index in the background
until ThumbnailProvider.destroy()
is called.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.castlabs.sdk.thumbs.ThumbnailProvider
ThumbnailProvider.Callback, ThumbnailProvider.IndexRefreshListener, ThumbnailProvider.RequestQueuePosition, ThumbnailProvider.ThumbnailResult
-
Method Summary
Methods inherited from interface com.castlabs.sdk.thumbs.ThumbnailProvider
addIndexRefreshListener, cancelPendingRequests, cancelRequests, destroy, getCuePointsList, getDownloadableResources, getThumbnail, getThumbnail, getThumbnail, getThumbnail, getThumbnailPosition, removeIndexRefreshListener, setLoadingStrategy, setRequestQueuePosition
-
Method Details
-
prepare
void prepare()Start preparing the Provider in the background. An explicit call to this method is not required, but depending on the thumbnail format, this call might speed up the resolution of upcoming thumbnail requests.Depending on the thumbnail format, it's possible for the Provider to need downloading and parsing of the manifest prior to the download of the thumbnails.
-