BrightcoveSeekBar

open class BrightcoveSeekBar : OnBrightcoveSeekBarChangeListener

Provides a seek bar object that also manages arbitrary markers for chapters, ads or some other purpose. This class is heavily based on work done by Kate Kelly and Tim Parsons as part of the Tina project.

Author

Paul Michael Reilly pmreilly@brightcove.com

Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet)
constructor(context: Context, attrs: AttributeSet, defStyle: Int)

Properties

Link copied to clipboard
open var markerHeight: Int

Functions

Link copied to clipboard
open fun addMarker(marker: Int)
Deprecated.
open fun addMarker(marker: Long)
Adds a marker to the list of markers.
Link copied to clipboard
open fun clearMarkers()
Clears the set of markers.
Link copied to clipboard
Marker color attribute getter.
Link copied to clipboard
open fun getMarkers(): List<Integer>
Deprecated.
Link copied to clipboard
open fun getMarkersLong(): List<Long>
Gets the set of markers.
Link copied to clipboard
open fun getMarkerWidth(): Float
Marker width attribute getter.
Link copied to clipboard
open fun onBrightcoveProgressChanged(seekBar: SeekBar, progress: Int, fromUser: Boolean)
Notification that the progress level has changed.
Link copied to clipboard
open fun onBrightcoveStartTrackingTouch(seekBar: SeekBar)
Notification that the user has started a touch gesture.
Link copied to clipboard
open fun onBrightcoveStopTrackingTouch(seekBar: SeekBar)
Notification that the user has finished a touch gesture.
Link copied to clipboard
open fun onInitializeAccessibilityEvent(event: AccessibilityEvent)
Link copied to clipboard
open fun removeMarker(marker: Integer)
Deprecated.
open fun removeMarker(marker: Long)
Removes the marker specified.
Link copied to clipboard
open fun setMarkerColor(value: Int)
Sets a new value for the marker color.
Link copied to clipboard
open fun setMarkerWidth(value: Float)
Sets a new value for the marker width.
Link copied to clipboard
open fun setShouldMarkerOverdrawThumb(shouldMarkerOverdrawThumb: Boolean)