BrightcovePlayerOptionsManager

Singleton class used to make manage the player options menu and its items, used for Android TV. It's also used to obtain the state of its elements.

Author

Sergio Martinez - smartinez@brightcove.com

Properties

Link copied to clipboard
open val audioTracksGroup: RadioGroup
Link copied to clipboard
open val audioTracksTitle: TextView
Link copied to clipboard
open val captionsGroup: RadioGroup
Link copied to clipboard
open val captionsTitle: TextView
Link copied to clipboard
Link copied to clipboard
open val playerOptionsView: View

Functions

Link copied to clipboard
Hide the audio tracks options.
Link copied to clipboard
Hide the captions options.
Link copied to clipboard
open fun hidePlayerOptions(eventEmitter: EventEmitter)
Hide the player options menu.
Link copied to clipboard
open fun initPlayerOptions(root: ViewGroup): View
Initializes the player options menu and will add it to the ViewGroup provided.
Link copied to clipboard
Tells you whether the audio tracks is visible or not.
Link copied to clipboard
Tells you whether the captions is visible or not.
Link copied to clipboard
Tells you whether the player options menu is visible or not.
Link copied to clipboard
Show the audio tracks options.
Link copied to clipboard
Show the captions options.
Link copied to clipboard
open fun showPlayerOptions(eventEmitter: EventEmitter)
Show the player options menu.