public void setOnPatternDetectedListener(OnPatternDetectedListener onPatternDetectedListener) {
        this.onPatternDetectedListener = onPatternDetectedListener;
    }
Set the call back for pattern detection.

@param onPatternDetectedListener The call back.
android-patternview/src/main/java/com/eftimoff/patternview/PatternView.java