V7.x API changes in the iOS Edition

Comparing to the version 6.x, version 7.x has removed some APIs and functions and renamed many APIs, variables, and struct. The API changes for the iOS edition are listed below:

APIs removed

iOS
allLocalizationResults
appendParameterTemplate
appendParameterTemplateFromFile
templateSettingsWithName
loadSettings
loadSettingsFromFile
setTemplateSettings

Renamed classes and enumerations

Version 6.x Version 7.x
PublicSettings iPublicRuntimeSettings
LocalizationResult iLocalizationResult
ExtendedResult iExtendedResult
TextResult iTextResult
BarcodeInvert Removed
ColourImageConvert Removed
TerminateStatus Removed
BarcodeType EnumBarcodeFormat

Renamed or removed members for PublicRuntimeSettings

Version 6.x PublicRuntimeSettings Version 7.x iPublicRuntimeSettings
PDFRasterDPI pdfRasterDPI
barcodeTypeID barcodeFormatIds
scaleDownThreshold scaleDownThreshold
expectedBarcodeCount expectedBarcodesCount
textFilter Removed
regionPredetection Removed
localizationAlgorithmPriority Removed
textureDetectionSensitivity Removed
antiDamageLevel Removed
maxDimOfFullImageAsBarcodeZone Removed
maxBarcodeCount Removed
barcodeInvert Removed
grayEqualizationSensitivity Removed
enableFillBinaryVacancy Removed
colourImageConvert Removed
binarizationBlockSize Removed

Renamed or removed class members

Extended results info is now moved to Class TextResult

Version 6.x Version 7.x
Class LocalizationResult
terminateStage terminatePhase
extendedResultArray Removed

Renamed barcode types

Version 6.x BarcodeType Version 7.x EnumBarcodeFormat
BarcodeTypeCODE39 EnumBarcodeFormatCODE39
BarcodeTypeCODE128 EnumBarcodeFormatCODE128
BarcodeTypeCODE93 EnumBarcodeFormatCODE93
BarcodeTypeCODABAR EnumBarcodeFormatCODABAR
BarcodeTypeITF EnumBarcodeFormatITF
BarcodeTypeEAN13 EnumBarcodeFormatEAN13
BarcodeTypeEAN8 EnumBarcodeFormatEAN8
BarcodeTypeUPCA EnumBarcodeFormatUPCA
BarcodeTypeUPCE EnumBarcodeFormatUPCE
BarcodeTypeINDUSTRIAL EnumBarcodeFormatINDUSTRIAL
BarcodeTypePDF417 EnumBarcodeFormatPDF417
BarcodeTypeQRCODE EnumBarcodeFormatQRCODE
BarcodeTypeDATAMATRIX EnumBarcodeFormatDATAMATRIX
BarcodeTypeAZTEC EnumBarcodeFormatAZTEC
BarcodeTypeONED EnumBarcodeFormatONED
BarcodeTypeALL EnumBarcodeFormatALL

Renamed enumeration for result type

Version 6.x ResultTextType Version 7.x EnumResultType
ResultTextTypeStandardText EnumResultTypeStandardText
ResultTextTypeRawText EnumResultTypeRawText
ResultTextTypeCandidateText EnumResultTypeCandidateText
ResultTextTypePartialText EnumResultTypePartialText

Renamed enumerations for conflict mode

Version 6.x DBRConflictMode Version 7.x EnumConflictMode
DBRECM_Ignore EnumConflictModeIgnore
DBRECM_Overwrite EnumConflictModeOverwrite

Renamed enumerations for image pixel format

Version 6.x ImagePixelType Version 7.x EnumImagePixelFormat
ImagePixelTypeBinary EnumImagePixelFormatBinary
ImagePixelTypeBinaryInverted EnumImagePixelFormatBinaryInverted
ImagePixelTypeGrayScaled EnumImagePixelFormatGrayScaled
ImagePixelTypeNV21 EnumImagePixelFormatNV21
ImagePixelTypeRGB_565 EnumImagePixelFormatRGB_565
ImagePixelTypeRGB_555 EnumImagePixelFormatRGB_555
ImagePixelTypeRGB_888 EnumImagePixelFormatRGB_888
ImagePixelTypeARGB_8888 EnumImagePixelFormatARGB_8888
ImagePixelTypeRGB_161616 EnumImagePixelFormatRGB_161616
ImagePixelTypeARGB_16161616 EnumImagePixelFormatARGB_16161616

Renamed enumerations for error code

Version 6.x DBRErrorCode Version 7.x EnumErrorCode
DBRErrorCode_Unknown EnumErrorCode_Unknown
DBRErrorCode_No_Memory EnumErrorCode_No_Memory
DBRErrorCode_Null_Pointer EnumErrorCode_Null_Pointer
DBRErrorCode_License_Invalid EnumErrorCode_License_Invalid
DBRErrorCode_License_Expired EnumErrorCode_License_Expired
DBRErrorCode_File_Not_Found EnumErrorCode_File_Not_Found
DBRErrorCode_Filetype_Not_Supported EnumErrorCode_Filetype_Not_Supported
DBRErrorCode_BPP_Not_Supported EnumErrorCode_BPP_Not_Supported
DBRErrorCode_Index_Invalid EnumErrorCode_Index_Invalid
DBRErrorCode_Barcode_Format_Invalid EnumErrorCode_Barcode_Format_Invalid
DBRErrorCode_Custom_Region_Invalid EnumErrorCode_Custom_Region_Invalid
DBRErrorCode_Max_Barcode_Number_Invalid EnumErrorCode_Max_Barcode_Number_Invalid
DBRErrorCode_Image_Read_Failed EnumErrorCode_Image_Read_Failed
DBRErrorCode_TIFF_Read_Failed EnumErrorCode_TIFF_Read_Failed
DBRErrorCode_QR_License_Invalid EnumErrorCode_QR_License_Invalid
DBRErrorCode_1D_Lincese_Invalid EnumErrorCode_1D_Lincese_Invalid
DBRErrorCode_PDF417_License_Invalid EnumErrorCode_PDF417_License_Invalid
DBRErrorCode_Datamatrix_License_Invalid EnumErrorCode_Datamatrix_License_Invalid
DBRErrorCode_PDF_Read_Failed EnumErrorCode_PDF_Read_Failed
DBRErrorCode_PDF_DLL_Missing EnumErrorCode_PDF_DLL_Missing
DBRErrorCode_Page_Number_Invalid EnumErrorCode_Page_Number_Invalid
DBRErrorCode_Custom_Size_Invalid EnumErrorCode_Custom_Size_Invalid
DBRErrorCode_Custom_Modulesize_Invalid EnumErrorCode_Custom_Modulesize_Invalid
DBRErrorCode_Recognition_Timeout EnumErrorCode_Recognition_Timeout
DBRErrorCode_Json_Parse_Failed EnumErrorCode_Json_Parse_Failed
DBRErrorCode_Json_Type_Invalid EnumErrorCode_Json_Type_Invalid
DBRErrorCode_Json_Key_Invalid EnumErrorCode_Json_Key_Invalid
DBRErrorCode_Json_Value_Invalid EnumErrorCode_Json_Value_Invalid
DBRErrorCode_Json_Name_Key_Missing EnumErrorCode_Json_Name_Key_Missing
DBRErrorCode_Json_Name_Value_Duplicated EnumErrorCode_Json_Name_Value_Duplicated
DBRErrorCode_Template_Name_Invalid EnumErrorCode_Template_Name_Invalid
DBRErrorCode_Json_Name_Reference_Invalid EnumErrorCode_Json_Name_Reference_Invalid
DBRErrorCode_Parameter_Value_Invalid EnumErrorCode_Parameter_Value_Invalid
DBRErrorCode_Domain_Not_Matched EnumErrorCode_Domain_Not_Matched
DBRErrorCode_ReservedInfo_Not_Matched EnumErrorCode_ReservedInfo_Not_Matched
DBRErrorCode_AZTEC_License_Invalid EnumErrorCode_AZTEC_License_Invalid
DBRErrorCode_License_Dll_Missing EnumErrorCode_License_Dll_Missing
DBRErrorCode_Licensekey_Not_Matched EnumErrorCode_Licensekey_Not_Matched
DBRErrorCode_Licensefile_Invalide EnumErrorCode_Licnse_Content_Invalid
DBRErrorCode_Requested_Failed EnumErrorCode_Requested_Failed
DBRErrorCode_Licensefile_Expried Removed

Other renamed or removed enumerations

Version 6.x Version 7.x
EnumRegionPredetectionMode
RegionPredetectionDisable Removed
RegionPredetectionEnable Removed
EnumTextFilterMode
TextFilterDisable Removed
TextFilterEnable Removed

results matching ""

    No results matching ""