simple-dynamsoft-mcp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/build.gradle +36 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/AndroidManifest.xml +23 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/java/com/dynamsoft/scanmultiplebarcodes/MainActivity.java +68 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/build.gradle +36 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/AndroidManifest.xml +24 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/java/com/dynamsoft/scansinglebarcode/MainActivity.java +76 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/build.gradle +43 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/AndroidManifest.xml +22 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/java/com/dynamsoft/scansinglebarcodekt/MainActivity.kt +73 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/build.gradle +37 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/AndroidManifest.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadAztec.json +91 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadCommon2D.json +185 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDPM.json +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDataMatrix.json +178 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDenseBarcodes.json +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDotCode.json +130 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadOneDIndustrial.json +155 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadOneDRetail.json +148 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadQR.json +150 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/HomeActivity.java +86 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ResultActivity.java +45 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/HomeItemAdapter.java +77 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/HomeItemsRecyclerView.java +75 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/ModeInfo.java +41 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/dynamsoft_logo.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/icon_attention.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/scan_barcode_icon.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/setting.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/shape_home_item1.xml +7 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/shape_home_item2.xml +7 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/activity_home.xml +96 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/activity_result.xml +17 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/layout_home_item.xml +55 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/attr_HomeItemsRecyclerView.xml +9 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/colors.xml +16 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/dimens.xml +8 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/strings.xml +23 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/build.gradle +45 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle.properties +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradlew +185 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradlew.bat +89 -0
- package/code-snippet/android/BarcodeScannerAPISamples/settings.gradle +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/build.gradle +38 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/AndroidManifest.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/CaptureActivity.java +256 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/HomeActivity.java +28 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/settings/PreferencesConstants.java +12 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/settings/SettingsActivity.java +47 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/icon_attention.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/setting.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_capture.xml +54 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_settings.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/layout_appbar.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/menu/main_menu.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/arrays.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/colors.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/strings.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/themes.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/xml/root_preferences.xml +28 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/build.gradle +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/AndroidManifest.xml +38 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/Templates/ReadFromAnImage.json +118 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/AllSupportedBarcodeTypes.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/BarcodeColorMode.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/DamagedBarcodes.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/batch-scan.jpg +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/blurryEffect_DPM.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/MainActivity.java +199 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/ThumbnailsRecyclerView.java +219 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/resultsview/CustomizedResultsDisplayView.java +142 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/utils/BitmapUtils.java +74 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/utils/UriUtils.java +116 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/boundary.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/dashed_border.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/image_button_state.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/activity_main.xml +155 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/item_thumbnail.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/results_view.xml +60 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/colors.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/strings.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/xml/dynamsoft_file_paths.xml +6 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/build.gradle +38 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/AndroidManifest.xml +29 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/MainActivity.java +111 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/ui/resultsview/CustomizedResultsDisplayView.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/activity_main.xml +22 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/strings.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/themes.xml +18 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/build.gradle +44 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/AndroidManifest.xml +31 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/CameraXImageSourceAdapter.java +64 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/HomeActivity.java +16 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/MainActivity.java +134 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/PreviewWithDrawingQuads.java +94 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/resultsview/CustomizedResultsDisplayView.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/activity_main.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/themes.xml +18 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/build.gradle +35 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/AndroidManifest.xml +30 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/MainActivity.java +133 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/ParseUtil.java +107 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/ResultActivity.java +46 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_main.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_result.xml +15 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/strings.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/build.gradle +47 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/AndroidManifest.xml +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/home/HomeActivity.java +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/CameraSettings.java +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/DecodeSettings.java +279 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/MultiFrameCrossFilterSettings.java +59 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/ResultFeedbackSettings.java +31 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/SettingsCache.java +49 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/scanner/ScannerActivity.java +225 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/scanner/ScannerViewModel.java +67 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/OnItemClickListener.java +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsActivity.java +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsFragment.java +160 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsViewModel.java +49 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/barcodeformat/BarcodeFormatsFragment.java +65 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/barcodeformat/BarcodeFormatsViewModel.java +61 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/simplifiedsettings/SimplifiedSettingsFragment.java +60 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/simplifiedsettings/SimplifiedSettingsViewModel.java +24 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/CustomResultDisplayView.java +56 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/ExpandLinearLayout.java +220 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/Extension.java +27 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/RadioGroupWithTitle.java +145 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/SingleLineLayout.java +302 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/BarcodeFormatConstants.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/FormatSelectionAdapter.java +122 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/FormatSelectionView.java +98 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ItemTouchHelperInter.java +7 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModeSelectionAdapter.java +174 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModeSelectionView.java +98 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModesMapConstant.java +55 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/MyTouchHelperCallBack.java +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/enter_pop_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/enter_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/exit_pop_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/exit_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/icon_right_transparent.xml +4 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checkbox.xml +6 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checkbox2.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checktext_textcolor.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_radiobutton_selected.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_radiobutton_textcolor.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_switch_track.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/setting.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/shape_circle_conner_dialog.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/shape_radio_group.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_main.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_settings.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/dialog_import_template.xml +44 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/format_selection.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_barcode_format.xml +101 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_settings.xml +305 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_simplified_settings.xml +149 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/item_result.xml +42 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_appbar.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_arrow_and_switch.xml +58 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_arrow_only.xml +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_switch_only.xml +44 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_radio_group_with_title.xml +46 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_single_line.xml +33 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/modes_selection_spinner_item.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/modes_selection_spinner_text.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/menu/menu_main.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/array.xml +14 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/attrs_customized.xml +65 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/colors.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/dimens.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/spinner_items.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/strings.xml +112 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/themes.xml +29 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/build.gradle +39 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/AndroidManifest.xml +28 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/assets/Templates/ReadMultipleBarcodes.json +116 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateGrabCodeActivity.java +87 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateScanActivity.java +162 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateStartActivity.java +53 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/ic_launcher_background.xml +170 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/scan_barcode_icon.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_grab_code.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_locate_start.xml +94 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_scanner.xml +34 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/colors.xml +35 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/themes.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/build.gradle +34 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/AndroidManifest.xml +27 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/assets/Templates/ReadGS1AIBarcode.json +135 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/java/com/dynamsoft/readgs1ai/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/java/com/dynamsoft/readgs1ai/MainActivity.java +178 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/layout/activity_main.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/strings.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/themes.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/build.gradle +39 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/AndroidManifest.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/MainActivity.java +257 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/UIHandler.java +14 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/ZoomSeekbarView.java +191 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/ic_baseline_shape.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/shape_circle_bg.xml +16 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/layout/activity_main.xml +77 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/build.gradle +42 -0
- package/code-snippet/android/FoundationalAPISamples/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/code-snippet/android/FoundationalAPISamples/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/code-snippet/android/FoundationalAPISamples/gradle.properties +21 -0
- package/code-snippet/android/FoundationalAPISamples/gradlew +185 -0
- package/code-snippet/android/FoundationalAPISamples/gradlew.bat +89 -0
- package/code-snippet/android/FoundationalAPISamples/settings.gradle +18 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/DynamsoftResources.bundle/Templates/ReadMultipleBarcodes.json +139 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/SceneDelegate.swift +51 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/ViewController.swift +161 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes.xcodeproj/project.pbxproj +422 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/DynamsoftResources.bundle/Templates/ReadSingleBarcode.json +105 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/SceneDelegate.swift +51 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/ViewController.swift +115 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode.xcodeproj/project.pbxproj +422 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/AppDelegate.h +13 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/AppDelegate.m +39 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/DynamsoftResources.bundle/Templates/ReadSingleBarcode.json +105 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/SceneDelegate.h +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/SceneDelegate.m +56 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/ViewController.h +13 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/ViewController.m +127 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/main.m +17 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc.xcodeproj/project.pbxproj +426 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/BarcodeScannerView.swift +66 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/ContentView.swift +47 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Preview Content/Preview Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUIApp.swift +16 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI.xcodeproj/project.pbxproj +377 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadAztec.json +91 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadCommon1DAnd2D.json +272 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadCommon2D.json +185 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDPM.json +138 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDataMatrix.json +178 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDenseBarcodes.json +138 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDotCode.json +130 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadOneDIndustrial.json +155 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadOneDRetail.json +148 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadQR.json +150 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/ResultViewController.swift +43 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/SceneDelegate.swift +57 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/ViewController.swift +271 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples.xcodeproj/project.pbxproj +426 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/CameraViewController.swift +256 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/SettingsViewController.swift +234 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug.xcodeproj/project.pbxproj +387 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/AppIcon.appiconset/Contents.json +35 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos@2x 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos@3x 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/AllSupportedBarcodeTypes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/BarcodeColorMode.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/DamagedBarcodes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/ReadFromAnImage.json +118 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/batch-scan.jpg +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/blurryEffect_DPM.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/SceneDelegate.swift +51 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/ViewController.swift +457 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage.xcodeproj/project.pbxproj +389 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/AppDelegate.swift +33 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/CaptureEnhancer.swift +102 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/CaptureViewController.swift +191 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession.xcodeproj/project.pbxproj +423 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/AppDelegate.swift +33 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Base.lproj/Main.storyboard +32 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/CameraViewController.swift +170 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer.xcodeproj/project.pbxproj +419 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/AppDelegate.swift +29 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AppIcon.appiconset/dcv-01.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/CameraViewController.swift +231 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Category/UIDevice+Addition.swift +59 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Category/UIView+Frame.swift +80 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/DriverLicenseResultViewController.swift +168 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Info.plist +8 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Utils/Dynamsoft.swift +27 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner.xcodeproj/project.pbxproj +447 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/BarcodeFormatViewController.swift +249 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/CameraViewController.swift +305 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/CustomTableViewCell.swift +234 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/Mode+Extension.swift +129 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/PickerPopupView.swift +145 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/SettingRow.swift +332 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/UIColor+Extension.swift +19 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SettingsViewController.swift +589 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SimplifiedSettingsViewController.swift +532 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings.xcodeproj/project.pbxproj +387 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/AppDelegate.swift +45 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Base.lproj/Main.storyboard +145 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/CameraViewController.swift +187 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/ReadMultipleBarcodes.json +116 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/SceneDelegate.swift +51 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/ViewController.swift +55 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode.xcodeproj/project.pbxproj +429 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/CameraViewController.swift +114 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/Root.plist +61 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/Templates/ReadGS1AI.json +135 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/en.lproj/Root.strings +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI.xcodeproj/project.pbxproj +389 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/AppDelegate.swift +20 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/Contents.json +22 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/icon_arrow_camera_zoom_close@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/icon_arrow_camera_zoom_close@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/CameraViewController.swift +231 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Category/UIDevice+Addition.swift +58 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Category/UIView+Frame.swift +60 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Info.plist +8 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/TinyBarcodeDecoding-Bridging-Header.h +4 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Utils/Dynamsoft.swift +53 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraSettingView.swift +71 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraZoomFloatingButton.swift +56 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraZoomSlider.swift +104 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding.xcodeproj/project.pbxproj +473 -0
- package/data/dynamsoft_sdks.json +118 -0
- package/package.json +32 -0
- package/src/index.js +832 -0
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.generalsettings.ui;
|
|
2
|
+
|
|
3
|
+
import android.content.Context;
|
|
4
|
+
import android.content.res.ColorStateList;
|
|
5
|
+
import android.content.res.TypedArray;
|
|
6
|
+
import android.text.Editable;
|
|
7
|
+
import android.text.InputType;
|
|
8
|
+
import android.text.TextWatcher;
|
|
9
|
+
import android.util.AttributeSet;
|
|
10
|
+
import android.util.Range;
|
|
11
|
+
import android.view.Gravity;
|
|
12
|
+
import android.view.View;
|
|
13
|
+
import android.view.ViewGroup;
|
|
14
|
+
import android.widget.EditText;
|
|
15
|
+
import android.widget.ImageView;
|
|
16
|
+
import android.widget.TextView;
|
|
17
|
+
import android.widget.Toast;
|
|
18
|
+
|
|
19
|
+
import androidx.annotation.NonNull;
|
|
20
|
+
import androidx.annotation.Nullable;
|
|
21
|
+
import androidx.appcompat.widget.AppCompatButton;
|
|
22
|
+
import androidx.appcompat.widget.SwitchCompat;
|
|
23
|
+
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
24
|
+
import androidx.databinding.BindingAdapter;
|
|
25
|
+
import androidx.databinding.InverseBindingAdapter;
|
|
26
|
+
import androidx.databinding.InverseBindingListener;
|
|
27
|
+
|
|
28
|
+
import com.dynamsoft.dbr.generalsettings.R;
|
|
29
|
+
|
|
30
|
+
public class SingleLineLayout extends ConstraintLayout {
|
|
31
|
+
public static final int MODE_ARROW_NEXT = 0x1;
|
|
32
|
+
public static final int MODE_BUTTON = 0x2;
|
|
33
|
+
public static final int MODE_EDIT_TEXT = 0x4;
|
|
34
|
+
// public static final int MODE_SPINNER = 0x08; //not use for now
|
|
35
|
+
public static final int MODE_SWITCH_COMPAT = 0x10;
|
|
36
|
+
public static final int MODE_CHECK_BOX = 0x20;
|
|
37
|
+
|
|
38
|
+
private int endId = LayoutParams.PARENT_ID;
|
|
39
|
+
|
|
40
|
+
private String titleText;
|
|
41
|
+
private Range<Integer> etRange;
|
|
42
|
+
|
|
43
|
+
public ViewGroup titleView;
|
|
44
|
+
public TextView tvTitle;
|
|
45
|
+
public ImageView ivArrow;
|
|
46
|
+
public AppCompatButton button;
|
|
47
|
+
public EditText etText;
|
|
48
|
+
public SwitchCompat switchCompat; //For MODE_SWITCH_COMPAT or MODE_CHECK_BOX
|
|
49
|
+
|
|
50
|
+
//For SwitchCompat's two-way dataBinding
|
|
51
|
+
public InverseBindingListener onScCheckedChangeListener;
|
|
52
|
+
public InverseBindingListener onTextEditChangeListener;
|
|
53
|
+
|
|
54
|
+
public SingleLineLayout(@NonNull Context context) {
|
|
55
|
+
this(context, null);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public SingleLineLayout(@NonNull Context context, @Nullable AttributeSet attrs) {
|
|
59
|
+
this(context, attrs, 0);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public SingleLineLayout(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
|
63
|
+
super(context, attrs, defStyleAttr);
|
|
64
|
+
initView(context, attrs, defStyleAttr);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
private void initView(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
68
|
+
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.SingleLineLayout, defStyleAttr, 0);
|
|
69
|
+
int titleWidth = typedArray.getLayoutDimension(R.styleable.SingleLineLayout_titleWidth, -1);
|
|
70
|
+
int titleHeight = typedArray.getLayoutDimension(R.styleable.SingleLineLayout_titleHeight, (int) (48 * getResources().getDisplayMetrics().density));
|
|
71
|
+
|
|
72
|
+
titleText = typedArray.getString(R.styleable.SingleLineLayout_titleText);
|
|
73
|
+
int titleTextColor = typedArray.getColor(R.styleable.SingleLineLayout_titleTextColor, getResources().getColor(R.color.settings_text_primary));
|
|
74
|
+
String tipMessage = typedArray.getString(R.styleable.SingleLineLayout_tipMessage);
|
|
75
|
+
float titlePaddingStart = typedArray.getDimension(R.styleable.SingleLineLayout_title_padding_start, 0f);
|
|
76
|
+
float titlePaddingEnd = typedArray.getDimension(R.styleable.SingleLineLayout_title_padding_end, 0f);
|
|
77
|
+
int mode = typedArray.getInt(R.styleable.SingleLineLayout_singleLineMode, 0);
|
|
78
|
+
String buttonText = typedArray.getString(R.styleable.SingleLineLayout_buttonText);
|
|
79
|
+
int inputType = typedArray.getInt(R.styleable.SingleLineLayout_android_inputType, InputType.TYPE_CLASS_NUMBER);
|
|
80
|
+
int titleBackGround = typedArray.getColor(R.styleable.SingleLineLayout_android_background, getResources().getColor(R.color.settings_primary));
|
|
81
|
+
typedArray.recycle();
|
|
82
|
+
|
|
83
|
+
titleView = (ViewGroup) inflate(context, R.layout.layout_single_line, null);
|
|
84
|
+
titleView.setBackgroundColor(titleBackGround);
|
|
85
|
+
setBackgroundColor(titleBackGround);
|
|
86
|
+
|
|
87
|
+
tvTitle = titleView.findViewById(R.id.tv_title);
|
|
88
|
+
tvTitle.setText(titleText);
|
|
89
|
+
tvTitle.setTextColor(titleTextColor);
|
|
90
|
+
if (tipMessage != null && !tipMessage.isEmpty()) {
|
|
91
|
+
ImageView ivTip = titleView.findViewById(R.id.iv_tip);
|
|
92
|
+
ivTip.setVisibility(VISIBLE);
|
|
93
|
+
Extension.addClickToShowDialog(ivTip, titleText, tipMessage);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
LayoutParams titleLP = new LayoutParams(titleWidth, titleHeight);
|
|
97
|
+
addView(titleView, titleLP);
|
|
98
|
+
titleView.setPadding((int) titlePaddingStart, 0, (int) titlePaddingEnd, 0);
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
initMode(mode);
|
|
102
|
+
|
|
103
|
+
if (button != null) {
|
|
104
|
+
button.setText(buttonText);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (etText != null) {
|
|
108
|
+
etText.setInputType(inputType);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
public void initMode(int mode) {
|
|
113
|
+
if ((mode & MODE_ARROW_NEXT) != 0) {
|
|
114
|
+
initIvArrow();
|
|
115
|
+
}
|
|
116
|
+
if ((mode & MODE_BUTTON) != 0) {
|
|
117
|
+
initButton();
|
|
118
|
+
}
|
|
119
|
+
if ((mode & MODE_EDIT_TEXT) != 0) {
|
|
120
|
+
initEditText();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
//Doesn't support show switchCompat and checkBox at the same time
|
|
124
|
+
if ((mode & MODE_SWITCH_COMPAT) != 0 || (mode & MODE_CHECK_BOX) != 0) {
|
|
125
|
+
initSwitchCompat();
|
|
126
|
+
if ((mode & MODE_SWITCH_COMPAT) != 0) {
|
|
127
|
+
switchCompat.setTrackResource(R.drawable.selector_switch_track);
|
|
128
|
+
switchCompat.setThumbTintList(ColorStateList.valueOf(getResources().getColor(R.color.thumb_default)));
|
|
129
|
+
} else if ((mode & MODE_CHECK_BOX) != 0) {
|
|
130
|
+
switchCompat.setThumbResource(R.drawable.selector_checkbox);
|
|
131
|
+
switchCompat.setTrackDrawable(null);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
private void initIvArrow() {
|
|
137
|
+
ivArrow = new ImageView(getContext());
|
|
138
|
+
ivArrow.setImageResource(R.drawable.arrow_orange_right);
|
|
139
|
+
ivArrow.setScaleType(ImageView.ScaleType.CENTER_INSIDE);
|
|
140
|
+
LayoutParams lp = new LayoutParams(0, ViewGroup.LayoutParams.MATCH_PARENT);
|
|
141
|
+
lp.dimensionRatio = "1:1";
|
|
142
|
+
if (endId == LayoutParams.PARENT_ID) {
|
|
143
|
+
lp.endToEnd = LayoutParams.PARENT_ID;
|
|
144
|
+
} else {
|
|
145
|
+
lp.endToStart = endId;
|
|
146
|
+
}
|
|
147
|
+
ivArrow.setId(++endId);
|
|
148
|
+
addViewToTitleView(ivArrow, lp);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
private void initButton() {
|
|
152
|
+
button = new AppCompatButton(getContext());
|
|
153
|
+
LayoutParams lp = new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.MATCH_PARENT);
|
|
154
|
+
if (endId == LayoutParams.PARENT_ID) {
|
|
155
|
+
lp.endToEnd = LayoutParams.PARENT_ID;
|
|
156
|
+
} else {
|
|
157
|
+
lp.endToStart = endId;
|
|
158
|
+
}
|
|
159
|
+
button.setId(++endId);
|
|
160
|
+
addViewToTitleView(button, lp);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
private void initEditText() {
|
|
164
|
+
etText = new EditText(getContext());
|
|
165
|
+
float dpx100 = getResources().getDimension(R.dimen.base_dp_x100);
|
|
166
|
+
LayoutParams lp = new LayoutParams((int) dpx100, ViewGroup.LayoutParams.MATCH_PARENT);
|
|
167
|
+
if (endId == LayoutParams.PARENT_ID) {
|
|
168
|
+
lp.endToEnd = LayoutParams.PARENT_ID;
|
|
169
|
+
} else {
|
|
170
|
+
lp.endToStart = endId;
|
|
171
|
+
}
|
|
172
|
+
etText.setId(++endId);
|
|
173
|
+
addViewToTitleView(etText, lp);
|
|
174
|
+
etText.setGravity(Gravity.CENTER);
|
|
175
|
+
|
|
176
|
+
etText.addTextChangedListener(new TextWatcher() {
|
|
177
|
+
@Override
|
|
178
|
+
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@Override
|
|
182
|
+
public void onTextChanged(CharSequence s, int start, int before, int count) {
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@Override
|
|
186
|
+
public void afterTextChanged(Editable s) {
|
|
187
|
+
if (onTextEditChangeListener != null) {
|
|
188
|
+
onTextEditChangeListener.onChange();
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
private void initSwitchCompat() {
|
|
195
|
+
switchCompat = new SwitchCompat(getContext());
|
|
196
|
+
LayoutParams lp = new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.MATCH_PARENT);
|
|
197
|
+
if (endId == LayoutParams.PARENT_ID) {
|
|
198
|
+
lp.endToEnd = LayoutParams.PARENT_ID;
|
|
199
|
+
} else {
|
|
200
|
+
lp.endToStart = endId;
|
|
201
|
+
}
|
|
202
|
+
switchCompat.setId(++endId);
|
|
203
|
+
addViewToTitleView(switchCompat, lp);
|
|
204
|
+
switchCompat.setOnCheckedChangeListener((buttonView, isChecked) -> {
|
|
205
|
+
if (onScCheckedChangeListener != null) {
|
|
206
|
+
onScCheckedChangeListener.onChange();
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
titleView.setOnClickListener(v -> switchCompat.setChecked(!switchCompat.isChecked()));
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
private void addViewToTitleView(View view, ViewGroup.LayoutParams lp) {
|
|
213
|
+
titleView.addView(view, lp);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
public static class DataBindingAdapter {
|
|
217
|
+
@BindingAdapter("scChecked")
|
|
218
|
+
public static void setScChecked(SingleLineLayout view, boolean checked) {
|
|
219
|
+
view.switchCompat.setChecked(checked);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@InverseBindingAdapter(attribute = "scChecked", event = "scCheckedAttrChanged")
|
|
223
|
+
public static boolean getScChecked(SingleLineLayout view) {
|
|
224
|
+
if (view.switchCompat != null) {
|
|
225
|
+
return view.switchCompat.isChecked();
|
|
226
|
+
}
|
|
227
|
+
return false;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@BindingAdapter("etString")
|
|
231
|
+
public static void setEtString(SingleLineLayout view, String text) {
|
|
232
|
+
view.etText.setText(text);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
@InverseBindingAdapter(attribute = "etString", event = "etTextAttrChanged")
|
|
236
|
+
public static String getEtString(SingleLineLayout view) {
|
|
237
|
+
String s = view.etText.getText().toString();
|
|
238
|
+
if(s.isBlank() && view.etText.getInputType() == InputType.TYPE_CLASS_NUMBER) {
|
|
239
|
+
return "0";
|
|
240
|
+
} else {
|
|
241
|
+
return s;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
@BindingAdapter("etRange")
|
|
246
|
+
public static void setEtRange(SingleLineLayout view, Range<Integer> range) {
|
|
247
|
+
view.etRange = range;
|
|
248
|
+
if (view.etText != null) {
|
|
249
|
+
DataBindingAdapter.setIntRangeVerification(view.etText, range, correctedString -> {
|
|
250
|
+
view.etText.setText(correctedString);
|
|
251
|
+
String toastTextTitle = view.titleText;
|
|
252
|
+
if (toastTextTitle.length() > 16) {
|
|
253
|
+
toastTextTitle = toastTextTitle.substring(0, 13) + "...";
|
|
254
|
+
}
|
|
255
|
+
Toast.makeText(view.getContext(), "\"" + toastTextTitle + "\" should be in " + range, Toast.LENGTH_LONG).show();
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@BindingAdapter(value = {"scCheckedAttrChanged", "etTextAttrChanged"}, requireAll = false)
|
|
261
|
+
public static void addListeners(SingleLineLayout view, @Nullable InverseBindingListener scChanged, @Nullable InverseBindingListener etChanged) {
|
|
262
|
+
view.onScCheckedChangeListener = scChanged;
|
|
263
|
+
view.onTextEditChangeListener = etChanged;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@BindingAdapter("usable")
|
|
267
|
+
public static void setUsable(SingleLineLayout view, boolean usable) {
|
|
268
|
+
view.setEnabled(usable);
|
|
269
|
+
view.tvTitle.setAlpha(usable ? 1f : 0.5f);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
public static void setIntRangeVerification(EditText editText, Range<Integer> range, CorrectStringCallback callback) {
|
|
273
|
+
editText.setOnFocusChangeListener((v, hasFocus) -> {
|
|
274
|
+
if (hasFocus) {
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
int inputType = editText.getInputType();
|
|
279
|
+
if (inputType == InputType.TYPE_CLASS_NUMBER ||
|
|
280
|
+
inputType == InputType.TYPE_NUMBER_FLAG_DECIMAL ||
|
|
281
|
+
inputType == InputType.TYPE_NUMBER_FLAG_SIGNED) {
|
|
282
|
+
|
|
283
|
+
try {
|
|
284
|
+
String inputText = editText.getText().toString();
|
|
285
|
+
int number = inputText.isEmpty() ? 0 : Integer.parseInt(inputText);
|
|
286
|
+
int inRangeNumber = range.clamp(number);
|
|
287
|
+
|
|
288
|
+
if (inRangeNumber != number) {
|
|
289
|
+
callback.onCorrectString(inRangeNumber + "");
|
|
290
|
+
}
|
|
291
|
+
} catch (NumberFormatException e) {
|
|
292
|
+
callback.onCorrectString(String.valueOf(range.getUpper()));
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
public interface CorrectStringCallback {
|
|
300
|
+
void onCorrectString(String correctedString);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.generalsettings.ui.formatselection;
|
|
2
|
+
|
|
3
|
+
import com.dynamsoft.dbr.EnumBarcodeFormat;
|
|
4
|
+
import com.dynamsoft.dbr.generalsettings.R;
|
|
5
|
+
|
|
6
|
+
import java.util.HashMap;
|
|
7
|
+
import java.util.Map;
|
|
8
|
+
|
|
9
|
+
public class BarcodeFormatConstants {
|
|
10
|
+
|
|
11
|
+
public static final Map<Long, Integer> BarcodeFormatOnedMap = new HashMap<>();
|
|
12
|
+
public static final long AllBarcodeFormatOned;
|
|
13
|
+
|
|
14
|
+
public static final Map<Long, Integer> BarcodeFormatTwodMap = new HashMap<>();
|
|
15
|
+
public static final long AllBarcodeFormatTwod;
|
|
16
|
+
|
|
17
|
+
public static final Map<Long, Integer> BarcodeFormatPharmacodeMap = new HashMap<>();
|
|
18
|
+
public static final long AllBarcodeFormatPharmacode;
|
|
19
|
+
|
|
20
|
+
public static final Map<Long, Integer> BarcodeFormatOthersMap = new HashMap<>();
|
|
21
|
+
public static final long AllBarcodeFormatOthers;
|
|
22
|
+
|
|
23
|
+
static {
|
|
24
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_CODE_39, R.string.code_39);
|
|
25
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_CODE_128, R.string.code_128);
|
|
26
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_CODE_39_EXTENDED, R.string.code_39_extended);
|
|
27
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_CODE_93, R.string.code_93);
|
|
28
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_CODE_11, R.string.code_11);
|
|
29
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_CODABAR, R.string.codabar);
|
|
30
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_ITF, R.string.itf);
|
|
31
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_EAN_13, R.string.ean_13);
|
|
32
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_EAN_8, R.string.ean_8);
|
|
33
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_UPC_A, R.string.upc_a);
|
|
34
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_UPC_E, R.string.upc_e);
|
|
35
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_INDUSTRIAL_25, R.string.industrial_25);
|
|
36
|
+
BarcodeFormatOnedMap.put(EnumBarcodeFormat.BF_MSI_CODE, R.string.msi_code);
|
|
37
|
+
|
|
38
|
+
long valueOned = 0L;
|
|
39
|
+
for (Map.Entry<Long, Integer> entry : BarcodeFormatOnedMap.entrySet()) {
|
|
40
|
+
valueOned |= entry.getKey();
|
|
41
|
+
}
|
|
42
|
+
AllBarcodeFormatOned = valueOned;
|
|
43
|
+
|
|
44
|
+
BarcodeFormatTwodMap.put(EnumBarcodeFormat.BF_QR_CODE, R.string.qrcode);
|
|
45
|
+
BarcodeFormatTwodMap.put(EnumBarcodeFormat.BF_PDF417, R.string.pdf417);
|
|
46
|
+
BarcodeFormatTwodMap.put(EnumBarcodeFormat.BF_DATAMATRIX, R.string.data_martix);
|
|
47
|
+
|
|
48
|
+
long valueTwod = 0L;
|
|
49
|
+
for (Map.Entry<Long, Integer> entry : BarcodeFormatTwodMap.entrySet()) {
|
|
50
|
+
valueTwod |= entry.getKey();
|
|
51
|
+
}
|
|
52
|
+
AllBarcodeFormatTwod = valueTwod;
|
|
53
|
+
|
|
54
|
+
BarcodeFormatPharmacodeMap.put(EnumBarcodeFormat.BF_PHARMACODE_ONE_TRACK, R.string.pharma_code_one_track);
|
|
55
|
+
BarcodeFormatPharmacodeMap.put(EnumBarcodeFormat.BF_PHARMACODE_TWO_TRACK, R.string.pharma_code_two_track);
|
|
56
|
+
|
|
57
|
+
long valuePharmacode = 0L;
|
|
58
|
+
for (Map.Entry<Long, Integer> entry : BarcodeFormatPharmacodeMap.entrySet()) {
|
|
59
|
+
valuePharmacode |= entry.getKey();
|
|
60
|
+
}
|
|
61
|
+
AllBarcodeFormatPharmacode = valuePharmacode;
|
|
62
|
+
|
|
63
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_AZTEC, R.string.aztec);
|
|
64
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_MAXICODE, R.string.maxicode);
|
|
65
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_PATCHCODE, R.string.patch_code);
|
|
66
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_DOTCODE, R.string.dot_code);
|
|
67
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_POSTALCODE, R.string.postal_code);
|
|
68
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_GS1_DATABAR, R.string.gs1_databar);
|
|
69
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_GS1_COMPOSITE, R.string.gs1_composite);
|
|
70
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_MICRO_PDF417, R.string.micro_pdf417);
|
|
71
|
+
BarcodeFormatOthersMap.put(EnumBarcodeFormat.BF_MICRO_QR, R.string.micro_qr);
|
|
72
|
+
|
|
73
|
+
long valueOthers = 0L;
|
|
74
|
+
for (Map.Entry<Long, Integer> entry : BarcodeFormatOthersMap.entrySet()) {
|
|
75
|
+
valueOthers |= entry.getKey();
|
|
76
|
+
}
|
|
77
|
+
AllBarcodeFormatOthers = valueOthers;
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.generalsettings.ui.formatselection;
|
|
2
|
+
|
|
3
|
+
import android.view.LayoutInflater;
|
|
4
|
+
import android.view.View;
|
|
5
|
+
import android.view.ViewGroup;
|
|
6
|
+
|
|
7
|
+
import androidx.annotation.NonNull;
|
|
8
|
+
import androidx.appcompat.widget.SwitchCompat;
|
|
9
|
+
import androidx.recyclerview.widget.RecyclerView;
|
|
10
|
+
|
|
11
|
+
import com.dynamsoft.dbr.generalsettings.R;
|
|
12
|
+
import com.dynamsoft.dbr.generalsettings.ui.SingleLineLayout;
|
|
13
|
+
|
|
14
|
+
import java.util.Map;
|
|
15
|
+
|
|
16
|
+
public class FormatSelectionAdapter extends RecyclerView.Adapter<FormatSelectionAdapter.ViewHolder> {
|
|
17
|
+
|
|
18
|
+
private Integer[] formatStringIdArray;
|
|
19
|
+
private Long[] formatIdArray;
|
|
20
|
+
private OnMultiSelectionCallback callback;
|
|
21
|
+
|
|
22
|
+
private boolean hasFormatsIdInitialized = false;
|
|
23
|
+
private long currentFormatIds = 0L;
|
|
24
|
+
private long allCheckedFormatIds = 0L;
|
|
25
|
+
|
|
26
|
+
public FormatSelectionAdapter(Map<Long, Integer> formatsMap, OnMultiSelectionCallback callback) {
|
|
27
|
+
formatIdArray = formatsMap.keySet().toArray(new Long[0]);
|
|
28
|
+
formatStringIdArray = formatsMap.values().toArray(new Integer[0]);
|
|
29
|
+
for (Long formatId : formatIdArray) {
|
|
30
|
+
allCheckedFormatIds |= formatId;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
this.callback = callback;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@NonNull
|
|
37
|
+
@Override
|
|
38
|
+
public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
|
39
|
+
return new ViewHolder(LayoutInflater.from(parent.getContext()).inflate(R.layout.format_selection, parent, false));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@Override
|
|
43
|
+
public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
|
|
44
|
+
SingleLineLayout singleLineLayout = (SingleLineLayout) holder.itemView;
|
|
45
|
+
singleLineLayout.tvTitle.setText(formatStringIdArray[position]);
|
|
46
|
+
|
|
47
|
+
singleLineLayout.switchCompat.setChecked((currentFormatIds & formatIdArray[position]) != 0L);
|
|
48
|
+
callback.onItemSelectedChanged(position,
|
|
49
|
+
currentFormatIds,
|
|
50
|
+
singleLineLayout.switchCompat.isChecked(),
|
|
51
|
+
(currentFormatIds & allCheckedFormatIds) == allCheckedFormatIds,
|
|
52
|
+
(currentFormatIds & allCheckedFormatIds) == 0L);
|
|
53
|
+
|
|
54
|
+
singleLineLayout.switchCompat.setOnCheckedChangeListener((buttonView, isChecked) -> {
|
|
55
|
+
if (isChecked) {
|
|
56
|
+
currentFormatIds |= formatIdArray[position];
|
|
57
|
+
} else {
|
|
58
|
+
currentFormatIds &= ~formatIdArray[position];
|
|
59
|
+
}
|
|
60
|
+
callback.onItemSelectedChanged(position,
|
|
61
|
+
currentFormatIds,
|
|
62
|
+
isChecked,
|
|
63
|
+
(currentFormatIds & allCheckedFormatIds) == allCheckedFormatIds,
|
|
64
|
+
(currentFormatIds & allCheckedFormatIds) == 0L);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@Override
|
|
69
|
+
public int getItemCount() {
|
|
70
|
+
return formatIdArray.length;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public void initCurrentFormatIds(long value) {
|
|
74
|
+
if (!hasFormatsIdInitialized) {
|
|
75
|
+
hasFormatsIdInitialized = true;
|
|
76
|
+
currentFormatIds = value;
|
|
77
|
+
for (int i = 0; i < getItemCount(); i++) {
|
|
78
|
+
if ((currentFormatIds & formatIdArray[i]) != 0L) {
|
|
79
|
+
notifyItemChanged(i);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
public long getCurrentFormatIds() {
|
|
86
|
+
return currentFormatIds;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
public void allChecked() {
|
|
90
|
+
resetCurrentFormatIds(allCheckedFormatIds);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public void allUnchecked() {
|
|
94
|
+
resetCurrentFormatIds(currentFormatIds & ~allCheckedFormatIds);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
public void resetCurrentFormatIds(long value) {
|
|
98
|
+
long xorValues = currentFormatIds ^ value;
|
|
99
|
+
currentFormatIds = value;
|
|
100
|
+
for (int i = 0; i < getItemCount(); i++) {
|
|
101
|
+
if ((xorValues & formatIdArray[i]) != 0L) {
|
|
102
|
+
notifyItemChanged(i, (value & formatIdArray[i]) != 0L);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
public static class ViewHolder extends RecyclerView.ViewHolder {
|
|
109
|
+
private SwitchCompat switchCompat;
|
|
110
|
+
|
|
111
|
+
public ViewHolder(@NonNull View itemView) {
|
|
112
|
+
super(itemView);
|
|
113
|
+
switchCompat = itemView.findViewById(R.id.switch_compat);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
public interface OnMultiSelectionCallback {
|
|
119
|
+
void onItemSelectedChanged(int position, long representValue, boolean isThisChecked, boolean allChecked, boolean allUnchecked);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.generalsettings.ui.formatselection;
|
|
2
|
+
|
|
3
|
+
import android.content.Context;
|
|
4
|
+
import android.util.AttributeSet;
|
|
5
|
+
import android.view.ViewGroup;
|
|
6
|
+
import android.widget.LinearLayout;
|
|
7
|
+
|
|
8
|
+
import androidx.annotation.Nullable;
|
|
9
|
+
import androidx.databinding.BindingAdapter;
|
|
10
|
+
import androidx.databinding.InverseBindingAdapter;
|
|
11
|
+
import androidx.databinding.InverseBindingListener;
|
|
12
|
+
import androidx.recyclerview.widget.LinearLayoutManager;
|
|
13
|
+
import androidx.recyclerview.widget.RecyclerView;
|
|
14
|
+
|
|
15
|
+
import java.util.Map;
|
|
16
|
+
|
|
17
|
+
public class FormatSelectionView extends LinearLayout {
|
|
18
|
+
private boolean ifAttachToAdapter;
|
|
19
|
+
private RecyclerView recyclerView;
|
|
20
|
+
private FormatSelectionAdapter.OnMultiSelectionCallback callback;
|
|
21
|
+
|
|
22
|
+
private InverseBindingListener barcodeFormatsChanged;
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
public FormatSelectionView(Context context) {
|
|
26
|
+
this(context, null);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public FormatSelectionView(Context context, @Nullable AttributeSet attrs) {
|
|
30
|
+
this(context, attrs, 0);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public FormatSelectionView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
|
34
|
+
super(context, attrs, defStyleAttr);
|
|
35
|
+
initView(context, attrs, defStyleAttr);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
private void initView(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
39
|
+
recyclerView = new RecyclerView(context, attrs, defStyleAttr);
|
|
40
|
+
LayoutParams layoutParams = new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
|
41
|
+
addView(recyclerView, layoutParams);
|
|
42
|
+
recyclerView.setOverScrollMode(OVER_SCROLL_NEVER);
|
|
43
|
+
recyclerView.setLayoutManager(new LinearLayoutManager(context, LinearLayoutManager.VERTICAL, false));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public void configuration(Map<Long, Integer> formatsMap) {
|
|
47
|
+
FormatSelectionAdapter adapter = new FormatSelectionAdapter(formatsMap, (position, representValue, isThisChecked, allChecked, allUnchecked) -> {
|
|
48
|
+
if (callback != null) {
|
|
49
|
+
callback.onItemSelectedChanged(position, representValue, isThisChecked, allChecked, allUnchecked);
|
|
50
|
+
}
|
|
51
|
+
if (barcodeFormatsChanged != null) {
|
|
52
|
+
barcodeFormatsChanged.onChange();
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
recyclerView.setAdapter(adapter);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public void allChecked() {
|
|
59
|
+
if(recyclerView.getAdapter() != null) {
|
|
60
|
+
((FormatSelectionAdapter) recyclerView.getAdapter()).allChecked();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public void allUnchecked() {
|
|
65
|
+
if(recyclerView.getAdapter() != null) {
|
|
66
|
+
((FormatSelectionAdapter) recyclerView.getAdapter()).allUnchecked();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public void setOnMultiSelectionCallback(FormatSelectionAdapter.OnMultiSelectionCallback callback) {
|
|
71
|
+
this.callback = callback;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public long getCurrentFormatIds() {
|
|
75
|
+
if(recyclerView.getAdapter() != null) {
|
|
76
|
+
return ((FormatSelectionAdapter) recyclerView.getAdapter()).getCurrentFormatIds();
|
|
77
|
+
}
|
|
78
|
+
return 0L;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
public static class DataBindingAdapter {
|
|
82
|
+
@BindingAdapter(value = {"formatsMap", "currentFormatIds"})
|
|
83
|
+
public static void configuration(FormatSelectionView view, Map<Long, Integer> formatsMap, long currentFormatIds) {
|
|
84
|
+
view.configuration(formatsMap);
|
|
85
|
+
((FormatSelectionAdapter) view.recyclerView.getAdapter()).initCurrentFormatIds(currentFormatIds);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@InverseBindingAdapter(attribute = "currentFormatIds", event = "barcodeFormatsAttrChanged")
|
|
89
|
+
public static long getCurrentFormatIds(FormatSelectionView view) {
|
|
90
|
+
return ((FormatSelectionAdapter) view.recyclerView.getAdapter()).getCurrentFormatIds();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@BindingAdapter(value = {"barcodeFormatsAttrChanged"}, requireAll = false)
|
|
94
|
+
public static void addListeners(FormatSelectionView view, InverseBindingListener barcodeFormatsChanged) {
|
|
95
|
+
view.barcodeFormatsChanged = barcodeFormatsChanged;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|