Class AudioTracksButtonController

    • Constructor Detail

      • AudioTracksButtonController

        public AudioTracksButtonController​(android.content.Context context,
                                           BaseVideoView videoView,
                                           BrightcoveControlBar controlBar,
                                           android.graphics.Typeface font,
                                           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.
        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.