Skip to content

Migration Guide: From 6.x To 7.x

From v6.9 To v7.1

Warning

All items that were marked as deprecated by the time of release 7.1 are now removed. This applies to classes, interfaces, fields, methods, etc. If you're still using any of them, consider the current alternatives.

  • Moved the IRfidReaderRequest interface to the IRfidReaderRequest class. Now, the constructor of the IRfidReaderRequest class accepts new interfaces, such as: IRfidPACertificates, IRfidTACertificates, and IRfidTASignature. See examples of usage in the RFID guide.
  • Removed NOTIFICATION item from DocReaderAction enum.
  • Removed eRPRM_FieldVerificationResult enum.
  • Removed ReprocParams class.

General Functionality

DocumentReader

Removed deprecated methods:

  • void recognizeImage(@NonNull Bitmap bitmap, @NonNull IDocumentReaderCompletion completion)
  • void recognizeImage(@NonNull final Context context, @NonNull Bitmap bitmap, @NonNull final IDocumentReaderCompletion completion)
  • void recognizeImage(@NonNull byte[] data, @NonNull IDocumentReaderCompletion completion)
  • void recognizeImage(@NonNull final Context context, @NonNull byte[] data, @NonNull IDocumentReaderCompletion completion)
  • void recognizeImages(@NonNull Bitmap[] bitmaps, @NonNull IDocumentReaderCompletion completion)
  • void recognizeImages(@NonNull ImageInputData[] imageInputData, @NonNull IDocumentReaderCompletion completion)
  • void showScanner(@NonNull Context context, @NonNull IDocumentReaderCompletion completion)
  • void showScanner(@NonNull Context context, int cameraId, @NonNull IDocumentReaderCompletion completion)

Instead, use the new methods recognize and showScanner with appropriate configurations. For details, see Picking images from Gallery.

DocumentReaderResults

  • Removed documentReaderNotification field.
  • Removed getOverallResult method, use status field instead.

DocumentReaderValue

  • Removed validity field, use DocumentReaderTextField.validityList field instead.
  • Removed comparison field, use DocumentReaderTextField.comparisonList field instead.

RfidScenario

  • Removed setReprocessParams and getReprocessParams methods.

Additional Resources