Class CaptionsButtonController

    • Constructor Detail

      • CaptionsButtonController

        public CaptionsButtonController​(android.content.Context context,
                                        BaseVideoView videoView,
                                        BrightcoveControlBar controlBar,
                                        android.os.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.
        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.