PlayButtonController
The default Brightcove play button controller. This class is responsible for putting the video into play and pause modes in response to programatic (via SDK events) or user interactions (button clicks).
Author
Paul Michael Reilly --- pmreilly@brightcove.com
Constructors
Link copied to clipboard
constructor(context: Context, videoView: BaseVideoView, controlBar: BrightcoveControlBar, font: Typeface)
Builds a play button controller object.
Properties
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
Implements a getter for the SDK event emitter.
Link copied to clipboard
Implements a getter for the managed video state.
Link copied to clipboard
Implements a getter to obtain properties to emit given the current managed state.
Link copied to clipboard
Gets the button state list providing information about the states associated with a button face.
Link copied to clipboard
Gets the maintained visibility state for a button.
Link copied to clipboard
Called back on change in the accessibility state.
Link copied to clipboard
On dpad center key actioned
Link copied to clipboard
On dpad down key actioned
Link copied to clipboard
On dpad left key actioned
Link copied to clipboard
On dpad right key actioned
Link copied to clipboard
On fast forward key actioned
Link copied to clipboard
On play pause key actioned
Link copied to clipboard
On skip backward key actioned
Link copied to clipboard
On skip forward key actioned
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
Sets the button visibility.
Link copied to clipboard
Implements to update a state (toggle) button to display the correct glyph and content description for the current managed state value.