Index

A B C D G H I J L N O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values

A

actualPositionUs - Variable in class com.castlabs.sdk.thumbs.ThumbnailProvider.ThumbnailResult
The actual position of the thumbnail in micro seconds, or -1 if no data was found
AddBack - Enum constant in enum com.castlabs.sdk.thumbs.ThumbnailProvider.RequestQueuePosition
Adds the thumbnail request at the back (end) of the loading queue.
AddFront - Enum constant in enum com.castlabs.sdk.thumbs.ThumbnailProvider.RequestQueuePosition
Adds the thumbnail request at the front (beginning) of the loading queue.
addIndexRefreshListener(ThumbnailProvider.IndexRefreshListener) - Method in class com.castlabs.sdk.thumbs.BaseThumbnailProvider
 
addIndexRefreshListener(ThumbnailProvider.IndexRefreshListener) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
addPercentageWave(float) - Method in class com.castlabs.sdk.thumbs.LoadingStrategy.Builder
Adds a percentage Wave.
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

BaseThumbnailProvider - Class in com.castlabs.sdk.thumbs
 
BaseThumbnailProvider(PlayerController, ThumbnailLoader.Factory) - Constructor for class com.castlabs.sdk.thumbs.BaseThumbnailProvider
 
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.JpgThumbnailProvider
 
cancelPendingRequests() - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
cancelPendingRequests() - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
 
cancelPendingRequests() - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
Cancels any queued Thumbnail Requests.
cancelRequests(long, long) - Method in class com.castlabs.sdk.thumbs.JpgThumbnailProvider
 
cancelRequests(long, long) - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
cancelRequests(long, long) - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
 
cancelRequests(long, long) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
Removes previously queued explicit requests (through the getThumbnail methods), whose requests positions' within the specified position range.
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
com.castlabs.sdk.thumbs - package com.castlabs.sdk.thumbs
 
createProvider(PlayerController, ThumbnailDataTrack, LoadingStrategy, String) - Static method in class com.castlabs.sdk.thumbs.ThumbsPlugin
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.JpgThumbnailProvider
 
destroy() - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
destroy() - Method in class com.castlabs.sdk.thumbs.BaseThumbnailProvider
 
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
getCuePointsList() - Method in class com.castlabs.sdk.thumbs.BaseThumbnailProvider
 
getCuePointsList() - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
Gets cue-points list of the thumbnails, or null if not loaded yet.
getDownloadableResources(String, File, Bundle) - Method in class com.castlabs.sdk.thumbs.JpgThumbnailProvider
 
getDownloadableResources(String, File, Bundle) - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
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
getProvider(SideloadedTrack) - Static method in class com.castlabs.sdk.thumbs.StandaloneThumbnailFactory
Creates and returns an appropriate StandaloneThumbnailProvider to fetch thumbnails out of the provided SideloadedTrack.
getProvider(PlayerConfig) - Static method in class com.castlabs.sdk.thumbs.StandaloneThumbnailFactory
Creates and returns an appropriate StandaloneThumbnailProvider to fetch thumbnails out of the provided PlayerConfig.
getRequestedTimeUs() - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView.ThumbnailInfo
Time for which the Thumbnail was requested in microseconds
getThumbnail(long, int) - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
 
getThumbnail(long, int) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
Load the exact thumbnail for the given position and return a Future linked to the operation.
getThumbnail(long, int, long) - Method in class com.castlabs.sdk.thumbs.JpgThumbnailProvider
 
getThumbnail(long, int, long) - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
getThumbnail(long, int, long) - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
 
getThumbnail(long, int, long) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
Load the thumbnail for the given position and return a Future linked to the operation.
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.JpgThumbnailProvider
 
getThumbnail(long, ThumbnailProvider.Callback, int, long) - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
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.
getThumbnailPosition(long, int) - Method in class com.castlabs.sdk.thumbs.BaseThumbnailProvider
 
getThumbnailPosition(long, int) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
Gets the actual position of the thumbnail in micro seconds, or null if not loaded yet.
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
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

onIndexRefreshed(ThumbnailProvider) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider.IndexRefreshListener
The thumbnail internal index has been refreshed.
onThumbnailLoaded(long, long, Bitmap) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider.Callback
Called after a thumbnail load finished.
onThumbnailRequestFinished(ThumbnailRequest, boolean) - Method in class com.castlabs.sdk.thumbs.JpgThumbnailProvider
 
onThumbnailRequestFinished(ThumbnailRequest, boolean) - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 

P

prepare() - Method in interface com.castlabs.sdk.thumbs.StandaloneThumbnailProvider
Start preparing the Provider in the background.
PRESTO_DEFAULT_THUMBNAIL_VIEW - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
Id for the default DefaultThumbnailView

R

refreshThumbnails(long) - Method in class com.castlabs.sdk.thumbs.JpgThumbnailProvider
Trigger an refresh of the internal thumbnail index
refreshThumbnails(long) - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
Trigger an refresh of the internal thumbnail index
removeIndexRefreshListener(ThumbnailProvider.IndexRefreshListener) - Method in class com.castlabs.sdk.thumbs.BaseThumbnailProvider
 
removeIndexRefreshListener(ThumbnailProvider.IndexRefreshListener) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
render(long, long) - Method in class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer
 
RENDERER_CAPABILITIES - Static variable in class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer
 
requestedPositionUs - Variable in class com.castlabs.sdk.thumbs.ThumbnailProvider.ThumbnailResult
The requested position in micro seconds

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.JpgThumbnailProvider
 
setLoadingStrategy(LoadingStrategy) - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
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.
setRequestQueuePosition(ThumbnailProvider.RequestQueuePosition) - Method in class com.castlabs.sdk.thumbs.JpgThumbnailProvider
 
setRequestQueuePosition(ThumbnailProvider.RequestQueuePosition) - Method in class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
setRequestQueuePosition(ThumbnailProvider.RequestQueuePosition) - Method in class com.castlabs.sdk.thumbs.BifThumbnailProvider
 
setRequestQueuePosition(ThumbnailProvider.RequestQueuePosition) - Method in interface com.castlabs.sdk.thumbs.ThumbnailProvider
Set where in the loading queue shall new thumbnail requests be placed.
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.
StandaloneThumbnailFactory - Class in com.castlabs.sdk.thumbs
Factory to provide instances of StandaloneThumbnailProvider.
StandaloneThumbnailProvider - Interface in com.castlabs.sdk.thumbs
Thumbnail provider which can be used without a player instance.
supportsFormat(Format) - Method in class com.castlabs.sdk.thumbs.ThumbnailsTrackRenderer
 

T

thumbnail - Variable in class com.castlabs.sdk.thumbs.ThumbnailProvider.ThumbnailResult
The thumbnail, or null if no data was found
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
 
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.
ThumbnailProvider.IndexRefreshListener - Interface in com.castlabs.sdk.thumbs
Listener which gets called every time the internal thumbnail index is refreshed.
ThumbnailProvider.RequestQueuePosition - Enum in com.castlabs.sdk.thumbs
Defines where in the loading queue shall new thumbnail requests be placed.
ThumbnailProvider.ThumbnailResult - Class in com.castlabs.sdk.thumbs
The result provided by the Future returned when requesting a Thumbnail through one of the ThumbnailProvider.getThumbnail(long, int, long) or ThumbnailProvider.getThumbnail(long, int, long) APIs
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

valueOf(String) - Static method in enum com.castlabs.sdk.thumbs.ThumbnailProvider.RequestQueuePosition
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.castlabs.sdk.thumbs.ThumbnailProvider.RequestQueuePosition
Returns an array containing the constants of this enum type, in the order they are declared.
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 and Interfaces|All Packages|Constant Field Values