Package 

Class AudioTracksButtonController

    • Method Summary

      Modifier and Type Method Description
      int getManagedState() Implements a getter for the managed state.
      int getVisibilityState() Gets the current visibility state.
      • Methods inherited from class com.brightcove.player.mediacontroller.buttons.AbstractButtonController

        getButton, getEventEmitter, getFont, getId, getProperties, getStateList, onAccessibilityStateChanged, onBack, onDpadCenter, onDpadDown, onDpadLeft, onDpadRight, onDpadUp, onFastForward, onHome, onMenu, onPause, onPlay, onPlayPause, onRewind, onSkipBackward, onSkipForward, setVisibility, syncStates
      • Methods inherited from class com.brightcove.player.event.AbstractComponent

        addListener, addOnceListener, removeListener, removeListeners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AudioTracksButtonController

        AudioTracksButtonController(Context context, BaseVideoView videoView, BrightcoveControlBar controlBar, Typeface font, Bundle bundle)
        DefaultMediaController requires a reference to the Context for resource lookups andtoggling full-screen mode.
        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 Detail

      • getManagedState

         int getManagedState()

        Implements a getter for the managed state.

      • getVisibilityState

         int getVisibilityState()

        Gets the current visibility state. For captions, the button is visible when captions are available. Captionsavailability is propagated via the SDK event bus.