BrightcovePreviewSeekBar

The default PreviewThumbnailView in the Thumbnail plugin. It is also the default BrightcoveSeekBar used in the BrightcoveMediaController when setupPreviewThumbnailController is called.

Constructors

Link copied to clipboard
constructor(context: Context)
Instantiate a BrightcovePreviewSeekBar view
constructor(context: Context, attrs: AttributeSet)
Instantiate a BrightcovePreviewSeekBar view
constructor(context: Context, attrs: AttributeSet, defaultStyle: Int)
Instantiate a BrightcovePreviewSeekBar view

Functions

Link copied to clipboard
open fun attachPreviewFrameLayout(parentFrameLayout: FrameLayout, brightcoveControlBar: BrightcoveControlBar)
Attaches the this view's ThumbnailView to the parent frame layout.
Link copied to clipboard
abstract fun getMax(): Int
Returns the maximum possible progress for this PreviewThumbnailView
Link copied to clipboard
abstract fun getProgress(): Int
Get the PreviewThumbnailView's current level of progress.
Link copied to clipboard
Returns the ThumbnailView where the thumbnail images will be drawn into.
Link copied to clipboard
abstract fun getThumbOffset(): Int
Returns the offset, in pixels, of the thumb/scrubber.
Link copied to clipboard
open fun hidePreview()
Hides the Preview Thumbnail View
Link copied to clipboard
Returns true if the Preview Thumbnail is enabled, or false otherwise.
Link copied to clipboard
Returns true if the Preview Thumbnail is currently being shown, or false otherwise
Link copied to clipboard
open fun onBrightcoveProgressChanged(seekBar: SeekBar, progress: Int, fromUser: Boolean)
Link copied to clipboard
open fun onBrightcoveStartTrackingTouch(seekBar: SeekBar)
Link copied to clipboard
open fun onBrightcoveStopTrackingTouch(seekBar: SeekBar)
Link copied to clipboard
open fun reset()
Resets its components to its initial state
Link copied to clipboard
open fun setPreviewEnabled(previewEnabled: Boolean)
Enables or disables the PreviewThumbnailView
Link copied to clipboard
open fun setPreviewLoader(previewLoader: PreviewLoader)
Sets the PreviewLoader
Link copied to clipboard
open fun setVisibility(visibility: Int)
Link copied to clipboard
open fun showPreview()
Shows the Preview Thumbnail View