Class PlayerControllerProgressBar

java.lang.Object
android.view.View
android.widget.ProgressBar
com.castlabs.sdk.playerui.PlayerControllerProgressBar
All Implemented Interfaces:
Drawable.Callback, AccessibilityEventSource, KeyEvent.Callback

public class PlayerControllerProgressBar extends ProgressBar
Simple view component that extends ProgressBar and can be bound to a PlayerController to track its loading state.
Since:
4.0.0
  • Constructor Details

    • PlayerControllerProgressBar

      public PlayerControllerProgressBar(Context context)
    • PlayerControllerProgressBar

      public PlayerControllerProgressBar(Context context, AttributeSet attrs)
    • PlayerControllerProgressBar

      public PlayerControllerProgressBar(Context context, AttributeSet attrs, int defStyleAttr)
    • PlayerControllerProgressBar

      public PlayerControllerProgressBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
  • Method Details

    • setVisible

      public void setVisible(boolean visible)
    • bind

      public void bind(@NonNull PlayerController playerController)
      Binds this view to the given player controller
      Parameters:
      playerController - The player controller
    • unbind

      public void unbind()
      Unbinds this view from a currently bound controller