A B C D G H I J L N O P R S T V
All Classes All Packages

## A

addPercentageWave(float) - Method in class com.castlabs.sdk.thumbs.LoadingStrategy.Builder
  Adds a percentage Wave.
addRequest(ThumbnailRequest) - Method in class com.castlabs.sdk.thumbs.ThumbnailLoadQueue
  Adds a `ThumbnailRequest` to the queue
addStepWave(int) - Method in class com.castlabs.sdk.thumbs.LoadingStrategy.Builder
  Adds a Step Wave.
addTimeWave(int, TimeUnit) - Method in class com.castlabs.sdk.thumbs.LoadingStrategy.Builder
  Adds a time Wave.

## B

BifThumbnailProvider - Class in com.castlabs.sdk.thumbs
  Provided thumbnails from BIF files.
BifThumbnailProvider(ThumbnailLoader.Factory, PlayerController, Uri) - Constructor for class com.castlabs.sdk.thumbs.BifThumbnailProvider
Builder() - Constructor for class com.castlabs.sdk.thumbs.LoadingStrategy.Builder
  Empty Builder
Builder(LoadingStrategy) - Constructor for class com.castlabs.sdk.thumbs.LoadingStrategy.Builder
  Create a Builder with the provided LoadingStrategy

## C

CachedThumbnailLoader - Class in com.castlabs.sdk.thumbs
  `ThumbnailLoader` implementation that delegates to another loader instance and caches the loaded data on disk.
CachedThumbnailLoader(ThumbnailLoader, boolean) - Constructor for class com.castlabs.sdk.thumbs.CachedThumbnailLoader
  Create a new instance that will delegate to the parent loader that will use `Context.getCacheDir()` to cache the data.
CachedThumbnailLoader(ThumbnailLoader, File, boolean) - Constructor for class com.castlabs.sdk.thumbs.CachedThumbnailLoader
  Create a new instance that will delegate to the parent loader.
cancelPendingRequests() - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
cancelPendingRequests() - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
  Cancels any queued Thumbnail Requests.
clear() - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
  Clear the currently displayed Thumbnail, if any
clear() - Method in class com.castlabs.sdk.thumbs.ThumbsPlugin.ThumbnailViewComponent
  Clear the currently displayed Thumbnail, if any
clearAll() - Method in class com.castlabs.sdk.thumbs.ThumbnailLoadQueue
  Clear all queues
clearRequests(boolean) - Method in class com.castlabs.sdk.thumbs.ThumbnailLoadQueue
  Clears all pending requests
com.castlabs.sdk.thumbs - package com.castlabs.sdk.thumbs
createProvider(PlayerController, ThumbnailDataTrack, LoadingStrategy, String) - Static method in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Same as `ThumbsPlugin.createProvider(PlayerController, ThumbnailDataTrack, LoadingStrategy, String, ThumbnailLoader.Factory)` but with a default loader implementation.
createProvider(PlayerController, ThumbnailDataTrack, LoadingStrategy, String, ThumbnailLoader.Factory) - Static method in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Create a thumbnail provider based on the `type`.

## D

DataSourceThumbnailLoader - Class in com.castlabs.sdk.thumbs
  Loads thumbnail data using a `DataSource`.
DataSourceThumbnailLoader(DataSource) - Constructor for class com.castlabs.sdk.thumbs.DataSourceThumbnailLoader
  Create a new loader for the given data source
DEFAULT_LOADING_STRATEGY - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Default loading strategy for thumbnails.
DefaultThumbnailView - Class in com.castlabs.sdk.thumbs
  This is a default implementation of a renderer that can be used with a `ThumbnailProvider`.
DefaultThumbnailView(Context) - Constructor for class com.castlabs.sdk.thumbs.DefaultThumbnailView
DefaultThumbnailView(Context, AttributeSet) - Constructor for class com.castlabs.sdk.thumbs.DefaultThumbnailView
DefaultThumbnailView(Context, AttributeSet, int) - Constructor for class com.castlabs.sdk.thumbs.DefaultThumbnailView
DefaultThumbnailView.Callback - Interface in com.castlabs.sdk.thumbs
  Users of this render must provide an implementation of this callback when they call `DefaultThumbnailView.show(long, Callback)`.
DefaultThumbnailView.ThumbnailInfo - Class in com.castlabs.sdk.thumbs
  Thumbnail information.
destroy() - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
destroy() - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
  Free up all the resources, meaning this provider will not be used anymore
dispose() - Method in class com.castlabs.sdk.thumbs.CachedThumbnailLoader
dispose() - Method in class com.castlabs.sdk.thumbs.DataSourceThumbnailLoader

## G

get() - Method in class com.castlabs.sdk.thumbs.LoadingStrategy.Builder
  Builds the `LoadingStrategy` with the Waves
getActualTimeUs() - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView.ThumbnailInfo
  Time of the Thumbnail as defined in the media resource in microseconds
getDownloadableResources(String, File, Bundle) - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
getDownloadableResources(String, File, Bundle) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
  This methods is used to integrate a thumbnail provider with the downloader plugins and implementation can return an array of resources that should be fetched for offline playback.
getHeight() - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView.ThumbnailInfo
  Height of the thumbnail
getId() - Method in class com.castlabs.sdk.thumbs.ThumbsPlugin
getLoadStartDelayMs() - Method in class com.castlabs.sdk.thumbs.LoadingStrategy
  The delay time until thumbnail load starts in milliseconds
getRequestedTimeUs() - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView.ThumbnailInfo
  Time for which the Thumbnail was requested in microseconds
getThumbnail(long, ThumbnailProvider.Callback, int) - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
getThumbnail(long, ThumbnailProvider.Callback, int) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
  Load the exact thumbnail for the given position and return it through the provided callback.
getThumbnail(long, ThumbnailProvider.Callback, int, long) - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
getThumbnail(long, ThumbnailProvider.Callback, int, long) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
  Load the thumbnail for the given position and return it through the provided callback.
getThumbnailLoadThreads() - Static method in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Returns the number of Threads that will be used to load image-based Thumbnails.
getThumbnailRect(Rect, DefaultThumbnailView.ThumbnailInfo, boolean) - Method in interface com.castlabs.sdk.thumbs.DefaultThumbnailView.Callback
  Called on the main thread as part of the `DefaultThumbnailView.onDraw(Canvas)` implementation.
getThumbnailTolerance() - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
getViewElevation() - Method in class com.castlabs.sdk.thumbs.ThumbsPlugin.ThumbnailViewComponent
getWidth() - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView.ThumbnailInfo
  Width of the thumbnail

## H

hasNext() - Method in class com.castlabs.sdk.thumbs.LoadingStrategy.EntriesIterator
hide() - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
  Hide the thumbnails
hide() - Method in class com.castlabs.sdk.thumbs.ThumbsPlugin.ThumbnailViewComponent
  Hide the thumbnail view

## I

INTENT_THUMBNAILS_DATA - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Deprecated.
  in favour of `SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST` and `SideloadedTrack.ThumbnailBuilder`.
isEmpty() - Method in class com.castlabs.sdk.thumbs.ThumbnailLoadQueue
isEnded() - Method in class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer
isReady() - Method in class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer
isStreamingSupported() - Method in class com.castlabs.sdk.thumbs.CachedThumbnailLoader
isStreamingSupported() - Method in class com.castlabs.sdk.thumbs.DataSourceThumbnailLoader
iterator() - Method in class com.castlabs.sdk.thumbs.LoadingStrategy

## J

JpgThumbnailProvider - Class in com.castlabs.sdk.thumbs
  Implementation of the `ThumbnailProvider` that supportes single and gridded thumbnails that are loaded from a URL template that contains $index$.
JpgThumbnailProvider(ThumbnailLoader.Factory, PlayerController, LoadingStrategy, String, long, Point) - Constructor for class com.castlabs.sdk.thumbs.JpgThumbnailProvider

## L

load(Uri) - Method in class com.castlabs.sdk.thumbs.CachedThumbnailLoader
load(Uri) - Method in class com.castlabs.sdk.thumbs.DataSourceThumbnailLoader
LoadingStrategy - Class in com.castlabs.sdk.thumbs
  Defines in what order to load (cache) thumbnails.
LoadingStrategy.Builder - Class in com.castlabs.sdk.thumbs
  Builder for `LoadingStrategy`.
LoadingStrategy.EntriesIterator - Class in com.castlabs.sdk.thumbs
loadStartDelayMs(long) - Method in class com.castlabs.sdk.thumbs.LoadingStrategy.Builder
  Time in milliseconds after which the Thumbnails will start to be loaded.
loadStream(Uri) - Method in class com.castlabs.sdk.thumbs.CachedThumbnailLoader
loadStream(Uri) - Method in class com.castlabs.sdk.thumbs.DataSourceThumbnailLoader

## N

next() - Method in class com.castlabs.sdk.thumbs.LoadingStrategy.EntriesIterator

## O

onThumbnailLoaded(long, long, Bitmap) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider.Callback
  Called after a thumbnail load finished.

## P

pop() - Method in class com.castlabs.sdk.thumbs.ThumbnailLoadQueue
  Returns the next `ThumbnailLoad` to load.
PRESTO_DEFAULT_THUMBNAIL_VIEW - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Id for the default `DefaultThumbnailView`

## R

render(long, long) - Method in class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer
RENDERER_CAPABILITIES - Static variable in class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer
replaceEntriesQueue(Collection<ThumbnailEntryLoad>) - Method in class com.castlabs.sdk.thumbs.ThumbnailLoadQueue
  Clears the queue of `ThumbnailEntryLoad` and replaces it with the given collection

## S

SEQUENTIAL_LOADING_STRATEGY - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Sequential loading strategy.
setBorderPaint(Paint) - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
  Sets the `Paint` to use for rendering the Thumbnails.
setLoadingStrategy(LoadingStrategy) - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
setLoadingStrategy(LoadingStrategy) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
  Updates the `LoadingStrategy` of this provider.
setLoadingStrategy(LoadingStrategy) - Method in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Sets the `LoadingStrategy` to use for loading thumbnails.
setThumbnailLoadThreads(int) - Static method in class com.castlabs.sdk.thumbs.ThumbsPlugin
  Set the number of Threads that will be used to load image-based Thumbnails.
setThumbnailProvider(ThumbnailProvider) - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
setThumbnailTolerance(long) - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
  Set the thumbnail fetching tolerance when calling `DefaultThumbnailView.show(long, Callback, int)`.
show(long, DefaultThumbnailView.Callback) - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
  Render the `current` thumbnail for the given timestamp in microseconds
show(long, DefaultThumbnailView.Callback) - Method in class com.castlabs.sdk.thumbs.ThumbsPlugin.ThumbnailViewComponent
  Shows the `current` thumbnail for the given position in microseconds.
show(long, DefaultThumbnailView.Callback, int) - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
  Render a thumbnail for the given timestamp in microseconds
show(long, DefaultThumbnailView.Callback, int) - Method in class com.castlabs.sdk.thumbs.ThumbsPlugin.ThumbnailViewComponent
  Shows a thumbnail for the given position in microseconds.
supportsFormat(Format) - Method in class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer

## T

THUMBNAIL_INDEX_CLOSEST - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
  When used in `DefaultThumbnailView.show(long, DefaultThumbnailView.Callback, int)` will render the closest thumbnail.
THUMBNAIL_INDEX_CURRENT - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
  When used in `DefaultThumbnailView.show(long, DefaultThumbnailView.Callback, int)` will render the current thumbnail.
THUMBNAIL_INDEX_NEXT - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
  When used in `DefaultThumbnailView.show(long, DefaultThumbnailView.Callback, int)` will render the next thumbnail.
ThumbnailInfo() - Constructor for class com.castlabs.sdk.thumbs.DefaultThumbnailView.ThumbnailInfo
ThumbnailLoadQueue - Class in com.castlabs.sdk.thumbs
  Holder of both `ThumbnailRequest` and `ThumbnailEntryLoad` queues.
ThumbnailLoadQueue() - Constructor for class com.castlabs.sdk.thumbs.ThumbnailLoadQueue
ThumbnailProvider - Interface in com.castlabs.sdk.thumbs
  Implementations of this interface provide thumbnails for positions in the current track.
ThumbnailProvider.Callback - Interface in com.castlabs.sdk.thumbs
  Because loading Thumbnails is usually an asynchronous process, this callback interface needs to be implemented to receive the results when a thumbnail was requested.
ThumbnailsTrackRenderer - Class in com.castlabs.sdk.thumbs
ThumbnailsTrackRenderer() - Constructor for class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer
ThumbnailViewComponent() - Constructor for class com.castlabs.sdk.thumbs.ThumbsPlugin.ThumbnailViewComponent
ThumbsPlugin - Class in com.castlabs.sdk.thumbs
  This plugin can be registered with the player to add support for thumbnails in different formats.
ThumbsPlugin(boolean) - Constructor for class com.castlabs.sdk.thumbs.ThumbsPlugin
  Create a new instance of this plugin.
ThumbsPlugin.ThumbnailViewComponent - Class in com.castlabs.sdk.thumbs
  If you registered the plugin with the default view integration enabled, this component will be registered with the `PlayerView` and you can access it to trigger displaying thumbnails.

## V

VttThumbnailProvider - Class in com.castlabs.sdk.thumbs
  Provided thumbnails from WebVTT files.
VttThumbnailProvider(ThumbnailLoader.Factory, PlayerController, LoadingStrategy, Uri) - Constructor for class com.castlabs.sdk.thumbs.VttThumbnailProvider

A B C D G H I J L N O P R S T V
All Classes All Packages