-
public interface ScratchoffController.ThresholdChangedListener
-
-
Method Summary
Modifier and Type Method Description abstract voidonScratchPercentChanged(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 voidonScratchThresholdReached(ScratchoffController controller)Called once the scratch threshold has been reached. -
-
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.
-
onScratchThresholdReached
abstract void onScratchThresholdReached(ScratchoffController controller)
Called once the scratch threshold has been reached.
-
-
-
-