BrightcoveControlBar

Provides a control bar wrapper class. The control bar is merely a linear layout instance containing the player controls. Its main raison d'etre is to provide access to layout defined attributes.

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
The audio tracks button styleable attribute index.
Link copied to clipboard
The customer defined audio tracks button image key.
Link copied to clipboard
val CLOSE: Int
The customer defined close button image key.
Link copied to clipboard
The customer defined close button image key.
Link copied to clipboard
The closed captions button styleable attribute index.
Link copied to clipboard
The customer defined captions button image key.
Link copied to clipboard
The customer defined enter full screen button image key.
Link copied to clipboard
The customer defined exit full screen button image key.
Link copied to clipboard
The forward button styleable attribute index.
Link copied to clipboard
The customer defined fast forward button image key.
Link copied to clipboard
The full screen button styleable attribute index.
Link copied to clipboard
val LIVE: Int
The live button styleable attribute index.
Link copied to clipboard
The customer defined pause button image key.
Link copied to clipboard
The customer defined picture in picture button index.
Link copied to clipboard
The customer defined picture in picture OFF button image key.
Link copied to clipboard
The customer defined picture in picture ON button image key.
Link copied to clipboard
val PLAY: Int
The play button styleable attribute index.
Link copied to clipboard
The customer defined play button image key.
Link copied to clipboard
The customer defined player options button image key.
Link copied to clipboard
The customer defined player options button image key.
Link copied to clipboard
The quality button styleable attribute index.
Link copied to clipboard
The customer defined quality button image key.
Link copied to clipboard
val REWIND: Int
The rewind button styleable attribute index.
Link copied to clipboard
The customer defined rewind button image key.
Link copied to clipboard
The seek bar button styleable attribute index.
Link copied to clipboard
The VR mode button styleable attribute index.
Link copied to clipboard
The customer defined VR mode button image key.

Functions

Link copied to clipboard
open fun getBooleanResource(index: Int): Boolean
Access a given boolean attribute by Android styleable resource index.
Link copied to clipboard
open fun getColorResource(index: Int, defaultValue: Int): Int
Access a given color attribute by Android styleable resource index.
Link copied to clipboard
open fun getFloatResource(index: Int, defaultValue: Float): Float
Access a given float attribute by Android styleable resource index.
Link copied to clipboard
open fun getImage(key: Int): Drawable
Access an optional image for a given key.
Link copied to clipboard
open fun getIntegerResource(index: Int, defaultValue: Int): Int
Access a given int attribute by Android styleable resource index.
Link copied to clipboard
open fun getResourceId(index: Int): Int
Access a given resource identifier attribute by Android styleable resource index.
Link copied to clipboard
open fun getStringResource(index: Int, defaultValue: String): String
Access a given string attribute by Android styleable resource index.
Link copied to clipboard
open fun setAlign(align: Boolean)
Sets whether the control bar is aligned with the video view.
Link copied to clipboard
open fun setVisibility(visibility: Int)
Link copied to clipboard
open fun updateMargins()