Class AudioTracksButtonController

All Implemented Interfaces:
AccessibilityListener, Component, ButtonController, RemoteControlKeyState

@ListensFor(events={"activityResumed","audioTracks","audioTracksDialogOk","audioTracksDialogSettings","fragmentResumed","enterTvMode","willChangeVideo"}) public class AudioTracksButtonController extends AbstractButtonController
The default Brightcove audio tracks button controller.
  • Constructor Details

    • 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.
  • Method Details