@Override
 /**
  * This method handles the WsqReady event.
  *
  * @param wsqData a byte array containing the compressed WSQ data of the fingerprint image.
  * @param metrics the metrics associated with this fingerprint image capture.
  */
 public void onWsqReady(byte[] wsqData, CaptureMetrics metrics) {
   // TODO Do something with WSQ data
   Log.d(
       TAG,
       "NFIQ: "
           + metrics.getNfiqMetrics().getNfiqScore()
           + ", MLP: "
           + metrics.getNfiqMetrics().getMlpScore());
 }
 @Override
 /**
  * This method handles the ProcessedBitmapReady event.
  *
  * @param processedBitmap the Bitmap containing the processed fingerprint image.
  * @param metrics the metrics associated with this fingerprint image capture.
  */
 public void onProcessedBitmapReady(Bitmap processedBitmap, CaptureMetrics metrics) {
   mCurrentFocusQuality = metrics.getFocusQuality();
   mFingerprintView.setImageBitmap(processedBitmap);
   mFingerprintView.startAnimation(mFadeIn);
 }