Class VideoProgressHelper

  • All Implemented Interfaces:

    
    public final class VideoProgressHelper
    
                        

    A helper class responsible for managing video progress visualization.

    This class creates and manages a progress bar that shows the current playback progress of a video. It listens to video events and updates the progress bar accordingly, with smooth animations between progress updates.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit addProgressBarIndicator() Adds a progress bar indicator to the experience layout if configured to show.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • addProgressBarIndicator

         final Unit addProgressBarIndicator()

        Adds a progress bar indicator to the experience layout if configured to show.

        This method creates a horizontal progress bar, applies the configured styling, adds it to the parent layout, and starts listening for media progress events.