Package 

Interface PreviewBar.OnScrubListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onScrubStart(PreviewBar previewBar) Is called when the user started scrubbing this PreviewBar
      abstract void onScrubMove(PreviewBar previewBar, int progress, boolean fromUser) Is called when this PreviewBar is being scrubbed by the user or manually.
      abstract void onScrubStop(PreviewBar previewBar) Is called when the user stopped scrubbing this PreviewBar
      • Methods inherited from class java.lang.Object

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

      • onScrubStart

         abstract void onScrubStart(PreviewBar previewBar)

        Is called when the user started scrubbing this PreviewBar

        Parameters:
        previewBar - the PreviewBar that started being scrubbed
      • onScrubMove

         abstract void onScrubMove(PreviewBar previewBar, int progress, boolean fromUser)

        Is called when this PreviewBar is being scrubbed by the user or manually.

        Parameters:
        previewBar - the PreviewBar that was scrubbed
        progress - the current progress
        fromUser - true if this event was triggered by the user or false otherwise
      • onScrubStop

         abstract void onScrubStop(PreviewBar previewBar)

        Is called when the user stopped scrubbing this PreviewBar

        Parameters:
        previewBar - the PreviewBar that was scrubbed