Package 

Class BrightcoveShowHideController

    • Method Summary

      Modifier and Type Method Description
      int getShowHideTimeout() Gets the animation timeout.
      void setShowHideTimeout(int value) Sets the animation timeout.
      void setShowControllerEnable(boolean showControllerEnable) The ShowHideController reacts to several events which causes the Media Controller to show.This methods allows you to enable or disable the hide functionality.It's enabled by default.
      void setHideControllerEnable(boolean hideControllerEnable) The ShowHideController reacts to several events which causes the Media Controller to hide.This methods allows you to enable or disable the hide functionality.It's enabled by default.
      boolean isShowControllerEnable() It indicates whether the hide mechanism of the ShowHideController is enable or disable.It's enabled by default.
      boolean isHideControllerEnable() It indicates whether the hide mechanism of the ShowHideController is enable or disable.It's enabled by default.
      void hide() Hides the media controls.
      boolean isShowing() Determines whether or not the media controls are showing.
      void setShowHideAnimationStyle(BrightcoveMediaController.AnimationStyle value) Sets the animation style.
      void setBrightcoveControlBar(BrightcoveControlBar brightcoveControlBar) Sets the Brightcove control bar.
      void show() Shows the media controls.
      • Methods inherited from class com.brightcove.player.event.AbstractComponent

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

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

      • BrightcoveShowHideController

        BrightcoveShowHideController(BrightcoveControlBar controlBar, BaseVideoView videoView)
        Builds the show/hide controller.
        Parameters:
        controlBar - The control bar object being shown and hidden.
        videoView - The SDK base video view.
    • Method Detail

      • setShowHideTimeout

         void setShowHideTimeout(int value)

        Sets the animation timeout.

        Parameters:
        value - The new animation timeout, in milliseconds.
      • setShowControllerEnable

         void setShowControllerEnable(boolean showControllerEnable)

        The ShowHideController reacts to several events which causes the Media Controller to show.This methods allows you to enable or disable the hide functionality.It's enabled by default.

        Parameters:
        showControllerEnable - true to enable.
      • setHideControllerEnable

         void setHideControllerEnable(boolean hideControllerEnable)

        The ShowHideController reacts to several events which causes the Media Controller to hide.This methods allows you to enable or disable the hide functionality.It's enabled by default.

        Parameters:
        hideControllerEnable - true to enable.
      • isShowControllerEnable

         boolean isShowControllerEnable()

        It indicates whether the hide mechanism of the ShowHideController is enable or disable.It's enabled by default.

      • isHideControllerEnable

         boolean isHideControllerEnable()

        It indicates whether the hide mechanism of the ShowHideController is enable or disable.It's enabled by default.

      • hide

         void hide()

        Hides the media controls.

      • isShowing

         boolean isShowing()

        Determines whether or not the media controls are showing.

      • setShowHideAnimationStyle

         void setShowHideAnimationStyle(BrightcoveMediaController.AnimationStyle value)

        Sets the animation style.

        Parameters:
        value - The new animation style.
      • show

         void show()

        Shows the media controls.