-
- All Implemented Interfaces:
-
com.jackpocket.scratchoff.paths.ScratchPathPointsAggregator,java.lang.Runnable
public class ScratchoffThresholdProcessor implements ScratchPathPointsAggregator, Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceScratchoffThresholdProcessor.TargetRegionsProviderpublic interfaceScratchoffThresholdProcessor.Delegatepublic enumScratchoffThresholdProcessor.Qualitypublic classScratchoffThresholdProcessor.SimpleTargetRegionsProvider
-
Constructor Summary
Constructors Constructor Description ScratchoffThresholdProcessor(int touchRadiusPx, float completionThreshold, ScratchoffThresholdProcessor.Quality accuracyQuality, ScratchoffThresholdProcessor.Delegate delegate)
-
Method Summary
Modifier and Type Method Description voidprepare(Array<int> layoutSize)voidaddScratchPathPoints(Collection<ScratchPathPoint> events)voidrun()voiddestroy()-
-
Constructor Detail
-
ScratchoffThresholdProcessor
ScratchoffThresholdProcessor(int touchRadiusPx, float completionThreshold, ScratchoffThresholdProcessor.Quality accuracyQuality, ScratchoffThresholdProcessor.Delegate delegate)
-
-
Method Detail
-
addScratchPathPoints
void addScratchPathPoints(Collection<ScratchPathPoint> events)
-
run
void run()
-
destroy
void destroy()
-
-
-
-