BrightcoveClosedCaptioningController
open class BrightcoveClosedCaptioningController : AbstractComponent
A controller class for managing closed captioning dialogue windows.
Functions
Link copied to clipboard
Convenience method to add an EventListener for the given type using the EventEmitter.on() method.
Link copied to clipboard
Convenience method to add an EventListener for the given type using the EventEmitter.once() method.
Link copied to clipboard
Check to see if the Video passed in has closed captioning data.
Link copied to clipboard
Provides a reference to the EventEmitter with which this component was initialized
Link copied to clipboard
Checks the closed captioning enabled/disabled state from the applications shared preferences.
Link copied to clipboard
Removes the specified listener from the EventEmitter.
Link copied to clipboard
Removes all set listeners from the EventEmitter.
Link copied to clipboard
Save the closed captioning enabled/disabled state to the applications shared preferences.
Link copied to clipboard
Selects the caption option and and emits the one selected.
Link copied to clipboard
Stores the locale code in the default shared preferences, so it will be persisted.
Link copied to clipboard
Method to set whether to import the system caption settings before displaying captions on a video.
Link copied to clipboard
Helper that prepares the captions dialog with the current state and displays the dialog over the video player.
Link copied to clipboard
Helper method to validate the types of the CAPTION_SOURCES video field, which should always be a List