CaptionsButtonController

constructor(context: Context, videoView: BaseVideoView, controlBar: BrightcoveControlBar, font: Typeface, bundle: Bundle)

DefaultMediaController requires a reference to the Context for resource lookups and toggling full-screen mode. Also requires a BrightcoveVideoView to determine the play/pause state.

Parameters

context

The Android application context.

videoView

The base video view with the captions button.

controlBar

The caption button's parent view.

font

The, possibly null, typeface for the button.

bundle

The, possibly null, state save information generated on an Activity lifecycle or configuration change event.