Package 

Interface ScratchoffController.ThresholdChangedListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onScratchPercentChanged(ScratchoffController controller, float percentCompleted) Callback values for scratch percentages are in the range [0.0, 100.0] and will becontinuously called on the main Thread as the threshold value changes.
      abstract void onScratchThresholdReached(ScratchoffController controller) Called once the scratch threshold has been reached.
      • Methods inherited from class java.lang.Object

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

      • onScratchPercentChanged

         abstract void onScratchPercentChanged(ScratchoffController controller, float percentCompleted)

        Callback values for scratch percentages are in the range [0.0, 100.0] and will becontinuously called on the main Thread as the threshold value changes.Updates will cease once the threshold has been reached.