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 theIRfidReaderRequest
class. Now, the constructor of theIRfidReaderRequest
class accepts new interfaces, such as:IRfidPACertificates
,IRfidTACertificates
, andIRfidTASignature
. See examples of usage in the RFID guide. - Removed
NOTIFICATION
item fromDocReaderAction
enum. - Removed
eRPRM_FieldVerificationResult
enum. - Removed
ReprocParams
class.
General Functionality
- Removed
setOnlineProcessingConfiguration
method in different classes, use online processing on Web Service instead.
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, usestatus
field instead.
DocumentReaderValue
- Removed
validity
field, useDocumentReaderTextField.validityList
field instead. - Removed
comparison
field, useDocumentReaderTextField.comparisonList
field instead.
RfidScenario
- Removed
setReprocessParams
andgetReprocessParams
methods.
Additional Resources
- For more information about the most current functionality, see Android API Reference Documentation.