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

A

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

BifThumbnailProvider - Class in com.castlabs.sdk.thumbs
Provided thumbnails from BIF files.
BifThumbnailProvider(ThumbnailLoader, 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.
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) - 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 thumbnail for the given position and return it through the provided callback.
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.
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

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
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, 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.
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
 

O

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

P

PRESTO_DEFAULT_THUMBNAIL_VIEW - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
Id for the default DefaultThumbnailView

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.ThumbsPlugin
Sets the LoadingStrategy to use for loading thumbnails.
setThumbnailProvider(ThumbnailProvider) - Method in class com.castlabs.sdk.thumbs.DefaultThumbnailView
 
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.

T

THUMB_TEST_TEST - Static variable in class com.castlabs.sdk.thumbs.ThumbsPlugin
Test test
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.
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, PlayerController, LoadingStrategy, Uri) - Constructor for class com.castlabs.sdk.thumbs.VttThumbnailProvider
 
A B C D G H I J L O P S T V 
All Classes All Packages