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,220 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.generalsettings.ui;
|
|
2
|
+
|
|
3
|
+
import static com.dynamsoft.dbr.generalsettings.ui.ExpandLinearLayout.Type.ARROW_ONLY;
|
|
4
|
+
import static com.dynamsoft.dbr.generalsettings.ui.ExpandLinearLayout.Type.SWITCH_ONLY;
|
|
5
|
+
|
|
6
|
+
import android.animation.ObjectAnimator;
|
|
7
|
+
import android.content.Context;
|
|
8
|
+
import android.content.res.TypedArray;
|
|
9
|
+
import android.util.AttributeSet;
|
|
10
|
+
import android.view.View;
|
|
11
|
+
import android.widget.ImageView;
|
|
12
|
+
import android.widget.LinearLayout;
|
|
13
|
+
import android.widget.TextView;
|
|
14
|
+
|
|
15
|
+
import androidx.appcompat.widget.SwitchCompat;
|
|
16
|
+
import androidx.databinding.BindingAdapter;
|
|
17
|
+
import androidx.databinding.InverseBindingAdapter;
|
|
18
|
+
import androidx.databinding.InverseBindingListener;
|
|
19
|
+
|
|
20
|
+
import com.dynamsoft.dbr.generalsettings.R;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* TODO: document your custom view class.
|
|
24
|
+
*/
|
|
25
|
+
public class ExpandLinearLayout extends LinearLayout {
|
|
26
|
+
public enum Type {
|
|
27
|
+
ARROW_ONLY,
|
|
28
|
+
SWITCH_ONLY,
|
|
29
|
+
ARROW_AND_SWITCH
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
private float ivTargetRotaionX = 180f;
|
|
33
|
+
private float animPercent = 1f;
|
|
34
|
+
|
|
35
|
+
private TextView tvTitle;
|
|
36
|
+
private View titleView;
|
|
37
|
+
|
|
38
|
+
private boolean isOpen = false;
|
|
39
|
+
public SwitchCompat switchCompat;
|
|
40
|
+
|
|
41
|
+
//For SwitchCompat's two-way dataBinding
|
|
42
|
+
public InverseBindingListener onCheckedChangeListener;
|
|
43
|
+
|
|
44
|
+
public ExpandLinearLayout(Context context) {
|
|
45
|
+
this(context, null);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public ExpandLinearLayout(Context context, AttributeSet attrs) {
|
|
49
|
+
this(context, attrs, 0);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public ExpandLinearLayout(Context context, AttributeSet attrs, int defStyle) {
|
|
53
|
+
super(context, attrs, defStyle);
|
|
54
|
+
init(context, attrs, defStyle);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
private void init(Context context, AttributeSet attrs, int defStyle) {
|
|
58
|
+
setOrientation(VERTICAL);
|
|
59
|
+
|
|
60
|
+
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.ExpandLinearLayout, defStyle, 0);
|
|
61
|
+
int type = typedArray.getInt(R.styleable.ExpandLinearLayout_type, 0);
|
|
62
|
+
|
|
63
|
+
int titleBackGround = typedArray.getColor(R.styleable.ExpandLinearLayout_android_background, getResources().getColor(R.color.settings_primary));
|
|
64
|
+
|
|
65
|
+
titleView = inflate(context, type == ARROW_ONLY.ordinal() ? R.layout.layout_expand_arrow_only
|
|
66
|
+
: type == SWITCH_ONLY.ordinal() ? R.layout.layout_expand_switch_only
|
|
67
|
+
: R.layout.layout_expand_arrow_and_switch, null);
|
|
68
|
+
int titleWidth = typedArray.getLayoutDimension(R.styleable.ExpandLinearLayout_titleWidth, -1);
|
|
69
|
+
int titleHeight = typedArray.getLayoutDimension(R.styleable.ExpandLinearLayout_titleHeight, (int) (48 * getResources().getDisplayMetrics().density));
|
|
70
|
+
|
|
71
|
+
String titleText = typedArray.getString(R.styleable.ExpandLinearLayout_titleText);
|
|
72
|
+
float titlePaddingStart = typedArray.getDimension(R.styleable.ExpandLinearLayout_title_padding_start, 0f);
|
|
73
|
+
float titlePaddingEnd = typedArray.getDimension(R.styleable.ExpandLinearLayout_title_padding_end, 0f);
|
|
74
|
+
int titleTextColor = typedArray.getColor(R.styleable.ExpandLinearLayout_titleTextColor, getResources().getColor(R.color.settings_text_primary));
|
|
75
|
+
String tipMessage = typedArray.getString(R.styleable.ExpandLinearLayout_tipMessage);
|
|
76
|
+
isOpen = typedArray.getBoolean(R.styleable.ExpandLinearLayout_openAtFirst, false);
|
|
77
|
+
|
|
78
|
+
typedArray.recycle();
|
|
79
|
+
|
|
80
|
+
titleView.setBackgroundColor(titleBackGround);
|
|
81
|
+
setBackgroundColor(titleBackGround);
|
|
82
|
+
|
|
83
|
+
tvTitle = titleView.findViewById(R.id.tv_title);
|
|
84
|
+
tvTitle.setText(titleText);
|
|
85
|
+
tvTitle.setTextColor(titleTextColor);
|
|
86
|
+
ImageView ivTip = titleView.findViewById(R.id.iv_tip);
|
|
87
|
+
if (tipMessage != null && !tipMessage.isEmpty()) {
|
|
88
|
+
ivTip.setVisibility(VISIBLE);
|
|
89
|
+
Extension.addClickToShowDialog(ivTip, titleText, tipMessage);
|
|
90
|
+
} else {
|
|
91
|
+
ivTip.setVisibility(GONE);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
LayoutParams titleLP = new LayoutParams(titleWidth, titleHeight);
|
|
95
|
+
addView(titleView, titleLP);
|
|
96
|
+
titleView.setPadding((int) titlePaddingStart, 0, (int) titlePaddingEnd, 0);
|
|
97
|
+
|
|
98
|
+
if (type != SWITCH_ONLY.ordinal()) {
|
|
99
|
+
ImageView ivArrow = titleView.findViewById(R.id.iv_arrow);
|
|
100
|
+
ivArrow.setRotationX(ivTargetRotaionX);
|
|
101
|
+
titleView.setOnClickListener(v -> {
|
|
102
|
+
setOpen(!isOpen);
|
|
103
|
+
startAnim();
|
|
104
|
+
rotateView(ivArrow);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if (type != ARROW_ONLY.ordinal()) {
|
|
109
|
+
switchCompat = titleView.findViewById(R.id.switch_compat);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
if (type == SWITCH_ONLY.ordinal()) {
|
|
113
|
+
switchCompat.setOnCheckedChangeListener((buttonView, isChecked) -> {
|
|
114
|
+
if (onCheckedChangeListener != null) {
|
|
115
|
+
onCheckedChangeListener.onChange();
|
|
116
|
+
}
|
|
117
|
+
setOpen(isChecked);
|
|
118
|
+
startAnim();
|
|
119
|
+
});
|
|
120
|
+
titleView.setOnClickListener(v -> switchCompat.setChecked(!switchCompat.isChecked()));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@Override
|
|
126
|
+
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
|
127
|
+
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
|
128
|
+
int allChildHeight = 0;
|
|
129
|
+
int firstChildHeight = 0;
|
|
130
|
+
if (getChildCount() > 0) {
|
|
131
|
+
for (int i = 0; i < getChildCount(); i++) {
|
|
132
|
+
View child = getChildAt(i);
|
|
133
|
+
int childHeight = child.getMeasuredHeight()
|
|
134
|
+
+ ((MarginLayoutParams) child.getLayoutParams()).topMargin
|
|
135
|
+
+ ((MarginLayoutParams) child.getLayoutParams()).bottomMargin;
|
|
136
|
+
if (i == 0) {
|
|
137
|
+
firstChildHeight = childHeight + getPaddingTop() + getPaddingBottom();
|
|
138
|
+
}
|
|
139
|
+
allChildHeight += childHeight;
|
|
140
|
+
if (i == getChildCount() - 1) {
|
|
141
|
+
allChildHeight += getPaddingTop() + getPaddingBottom();
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
if (isOpen) {
|
|
147
|
+
setMeasuredDimension(widthMeasureSpec, firstChildHeight + (int) ((allChildHeight - firstChildHeight) * animPercent));
|
|
148
|
+
} else {
|
|
149
|
+
setMeasuredDimension(widthMeasureSpec, allChildHeight - (int) ((allChildHeight - firstChildHeight) * animPercent));
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
private void setOpen(boolean open) {
|
|
154
|
+
isOpen = open;
|
|
155
|
+
ivTargetRotaionX = isOpen ? 0f : 180f;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
private void startAnim() {
|
|
159
|
+
ObjectAnimator animator = ObjectAnimator.ofFloat(this, "animPercent", 0f, 1f);
|
|
160
|
+
animator.setDuration(Math.max((getChildCount() - 1) * 100L, 200));
|
|
161
|
+
animator.start();
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
private float getAnimPercent() {
|
|
165
|
+
return animPercent;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
//For ObjectAnimator
|
|
169
|
+
private void setAnimPercent(float animPercent) {
|
|
170
|
+
this.animPercent = animPercent;
|
|
171
|
+
requestLayout();
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
private void rotateView(View view) {
|
|
175
|
+
ObjectAnimator rotationXAnimator = ObjectAnimator.ofFloat(view, "rotationX", view.getRotationX(), ivTargetRotaionX);
|
|
176
|
+
rotationXAnimator.setDuration(Math.max((getChildCount() - 1) * 100L, 200));
|
|
177
|
+
rotationXAnimator.start();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
private void setChecked(boolean checked) {
|
|
181
|
+
if (switchCompat != null) {
|
|
182
|
+
switchCompat.setChecked(checked);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
public static class DataBindAdapter {
|
|
187
|
+
@BindingAdapter("scChecked")
|
|
188
|
+
public static void setScChecked(ExpandLinearLayout view, boolean checked) {
|
|
189
|
+
view.setChecked(checked);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@InverseBindingAdapter(attribute = "scChecked", event = "scCheckedAttrChanged")
|
|
193
|
+
public static boolean getScChecked(ExpandLinearLayout view) {
|
|
194
|
+
if (view.switchCompat != null) {
|
|
195
|
+
return view.switchCompat.isChecked();
|
|
196
|
+
}
|
|
197
|
+
return false;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@BindingAdapter(value = {"scCheckedAttrChanged"}, requireAll = false)
|
|
201
|
+
public static void setScCheckedListener(ExpandLinearLayout view, InverseBindingListener listener) {
|
|
202
|
+
view.onCheckedChangeListener = listener;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@BindingAdapter("usable")
|
|
206
|
+
public static void setUsable(ExpandLinearLayout view, boolean usable) {
|
|
207
|
+
if (!usable && view.isOpen) {
|
|
208
|
+
view.titleView.callOnClick();
|
|
209
|
+
}
|
|
210
|
+
for (int i = 0; i < view.getChildCount(); i++) {
|
|
211
|
+
view.getChildAt(i).setClickable(usable);
|
|
212
|
+
}
|
|
213
|
+
view.tvTitle.setAlpha(usable ? 1f : 0.5f);
|
|
214
|
+
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.generalsettings.ui;
|
|
2
|
+
|
|
3
|
+
import android.app.AlertDialog;
|
|
4
|
+
import android.view.View;
|
|
5
|
+
|
|
6
|
+
import androidx.annotation.NonNull;
|
|
7
|
+
import androidx.annotation.Nullable;
|
|
8
|
+
|
|
9
|
+
import com.dynamsoft.dbr.generalsettings.R;
|
|
10
|
+
|
|
11
|
+
public class Extension {
|
|
12
|
+
|
|
13
|
+
public static void addClickToShowDialog(@NonNull View view, @Nullable String title, @Nullable String message) {
|
|
14
|
+
view.setOnClickListener(v -> {
|
|
15
|
+
AlertDialog.Builder builder = new AlertDialog.Builder(view.getContext());
|
|
16
|
+
if (title != null) {
|
|
17
|
+
builder.setTitle(title);
|
|
18
|
+
}
|
|
19
|
+
if (message != null) {
|
|
20
|
+
builder.setMessage(message);
|
|
21
|
+
}
|
|
22
|
+
AlertDialog dialog = builder.create();
|
|
23
|
+
dialog.getWindow().setBackgroundDrawableResource(R.drawable.shape_circle_conner_dialog);
|
|
24
|
+
dialog.show();
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.generalsettings.ui;
|
|
2
|
+
|
|
3
|
+
import android.annotation.SuppressLint;
|
|
4
|
+
import android.content.Context;
|
|
5
|
+
import android.content.res.ColorStateList;
|
|
6
|
+
import android.content.res.TypedArray;
|
|
7
|
+
import android.util.AttributeSet;
|
|
8
|
+
import android.view.Gravity;
|
|
9
|
+
import android.view.LayoutInflater;
|
|
10
|
+
import android.widget.FrameLayout;
|
|
11
|
+
import android.widget.ImageView;
|
|
12
|
+
import android.widget.LinearLayout;
|
|
13
|
+
import android.widget.RadioButton;
|
|
14
|
+
import android.widget.RadioGroup;
|
|
15
|
+
import android.widget.TextView;
|
|
16
|
+
|
|
17
|
+
import androidx.annotation.NonNull;
|
|
18
|
+
import androidx.annotation.Nullable;
|
|
19
|
+
import androidx.core.content.ContextCompat;
|
|
20
|
+
import androidx.databinding.BindingAdapter;
|
|
21
|
+
import androidx.databinding.InverseBindingAdapter;
|
|
22
|
+
import androidx.databinding.InverseBindingListener;
|
|
23
|
+
|
|
24
|
+
import com.dynamsoft.dbr.generalsettings.R;
|
|
25
|
+
|
|
26
|
+
public class RadioGroupWithTitle extends FrameLayout {
|
|
27
|
+
private static final String TAG = "RadioGroupWithTitle";
|
|
28
|
+
|
|
29
|
+
private RadioGroup radioGroup;
|
|
30
|
+
|
|
31
|
+
private CharSequence[] optionTextArray;
|
|
32
|
+
|
|
33
|
+
private InverseBindingListener onSelectionChangeListener;
|
|
34
|
+
|
|
35
|
+
public RadioGroupWithTitle(@NonNull Context context) {
|
|
36
|
+
this(context, null);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public RadioGroupWithTitle(@NonNull Context context, @Nullable AttributeSet attrs) {
|
|
40
|
+
this(context, attrs, 0);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public RadioGroupWithTitle(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
|
44
|
+
super(context, attrs, defStyleAttr);
|
|
45
|
+
initView(context, attrs, defStyleAttr);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
private void initView(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
49
|
+
LayoutInflater.from(context).inflate(R.layout.layout_radio_group_with_title, this);
|
|
50
|
+
|
|
51
|
+
radioGroup = findViewById(R.id.radio_group);
|
|
52
|
+
|
|
53
|
+
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.RadioGroupWithTitle, defStyleAttr, 0);
|
|
54
|
+
String titleText = typedArray.getString(R.styleable.RadioGroupWithTitle_titleText);
|
|
55
|
+
String tipMessage = typedArray.getString(R.styleable.RadioGroupWithTitle_tipMessage);
|
|
56
|
+
CharSequence[] textArray = typedArray.getTextArray(R.styleable.RadioGroupWithTitle_optionTextArray);
|
|
57
|
+
typedArray.recycle();
|
|
58
|
+
|
|
59
|
+
if (titleText != null) {
|
|
60
|
+
((TextView) findViewById(R.id.tv_title)).setText(titleText);
|
|
61
|
+
}
|
|
62
|
+
if (tipMessage != null && !tipMessage.isEmpty()) {
|
|
63
|
+
ImageView ivTip = findViewById(R.id.iv_tip);
|
|
64
|
+
ivTip.setVisibility(VISIBLE);
|
|
65
|
+
Extension.addClickToShowDialog(ivTip, titleText, tipMessage);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
initOptionTextArray(textArray);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
private void initOptionTextArray(CharSequence[] optionTextArray) {
|
|
72
|
+
if(optionTextArray == null || optionTextArray.length == 0) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
this.optionTextArray = optionTextArray;
|
|
76
|
+
LinearLayout.LayoutParams btnParams = new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.MATCH_PARENT);
|
|
77
|
+
btnParams.weight = 1;
|
|
78
|
+
btnParams.gravity = Gravity.CENTER;
|
|
79
|
+
@SuppressLint("ResourceType")
|
|
80
|
+
ColorStateList colorStateList = ContextCompat.getColorStateList(getContext(), R.drawable.selector_radiobutton_textcolor);
|
|
81
|
+
for (int i = 0; i < optionTextArray.length; i++) {
|
|
82
|
+
RadioButton button = new RadioButton(getContext());
|
|
83
|
+
button.setBackgroundResource(R.drawable.selector_radiobutton_selected);
|
|
84
|
+
button.setId(getIdFromIndex(i));
|
|
85
|
+
button.setButtonDrawable(null);
|
|
86
|
+
button.setChecked(i==0);
|
|
87
|
+
button.setText(optionTextArray[i]);
|
|
88
|
+
button.setTextSize(14f);
|
|
89
|
+
button.setGravity(Gravity.CENTER);
|
|
90
|
+
button.setTextColor(colorStateList);
|
|
91
|
+
radioGroup.addView(button, btnParams);
|
|
92
|
+
}
|
|
93
|
+
setOnCheckedChangeListener((group, button, checkedId, selectedText) -> {
|
|
94
|
+
if(onSelectionChangeListener != null) {
|
|
95
|
+
onSelectionChangeListener.onChange();
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
private int getIdFromIndex(int index) {
|
|
101
|
+
return index+ hashCode();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
private int getIndexFromId(int id) {
|
|
105
|
+
return id - hashCode();
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
private void check(String text) {
|
|
109
|
+
for (int i = 0; i < optionTextArray.length; i++) {
|
|
110
|
+
if(optionTextArray[i].equals(text)) {
|
|
111
|
+
radioGroup.check(getIdFromIndex(i));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
private void setOnCheckedChangeListener(@NonNull OnCheckedChangeListener listener) {
|
|
117
|
+
radioGroup.setOnCheckedChangeListener((group, checkedId) -> {
|
|
118
|
+
RadioButton button = group.findViewById(checkedId);
|
|
119
|
+
listener.onCheckedChanged(radioGroup, button, checkedId, button.getText().toString());
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
private interface OnCheckedChangeListener {
|
|
124
|
+
void onCheckedChanged(RadioGroup group, RadioButton button, int checkedId, String selectedText);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
public static class DataBindAdapter {
|
|
128
|
+
@BindingAdapter("rgString")
|
|
129
|
+
public static void setRgString(RadioGroupWithTitle view, String rgString) {
|
|
130
|
+
view.check(rgString);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@InverseBindingAdapter(attribute = "rgString", event = "rgStringAttrChanged")
|
|
134
|
+
public static String getRgString(RadioGroupWithTitle view) {
|
|
135
|
+
int index = view.getIndexFromId(view.radioGroup.getCheckedRadioButtonId());
|
|
136
|
+
return view.optionTextArray[index].toString();
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@BindingAdapter(value = {"rgStringAttrChanged"}, requireAll = false)
|
|
140
|
+
public static void setSelectionChangeListener(RadioGroupWithTitle view, InverseBindingListener listener) {
|
|
141
|
+
view.onSelectionChangeListener = listener;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.generalsettings.ui;
|
|
2
|
+
|
|
3
|
+
import android.annotation.SuppressLint;
|
|
4
|
+
import android.content.Context;
|
|
5
|
+
import android.util.AttributeSet;
|
|
6
|
+
import android.view.LayoutInflater;
|
|
7
|
+
import android.view.View;
|
|
8
|
+
import android.view.ViewGroup;
|
|
9
|
+
import android.widget.TextView;
|
|
10
|
+
|
|
11
|
+
import androidx.annotation.NonNull;
|
|
12
|
+
import androidx.annotation.Nullable;
|
|
13
|
+
import androidx.recyclerview.widget.LinearLayoutManager;
|
|
14
|
+
import androidx.recyclerview.widget.RecyclerView;
|
|
15
|
+
|
|
16
|
+
import com.dynamsoft.dbr.BarcodeResultItem;
|
|
17
|
+
import com.dynamsoft.dbr.generalsettings.R;
|
|
18
|
+
|
|
19
|
+
public class ResultsRecyclerView extends RecyclerView {
|
|
20
|
+
|
|
21
|
+
private BarcodeResultItem[] barcodeResultItems = new BarcodeResultItem[0];
|
|
22
|
+
private final ResultAdapter resultAdapter = new ResultAdapter(barcodeResultItems);
|
|
23
|
+
|
|
24
|
+
public ResultsRecyclerView(Context context) {
|
|
25
|
+
this(context, null);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public ResultsRecyclerView(Context context, @Nullable AttributeSet attrs) {
|
|
29
|
+
this(context, attrs, 0);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public ResultsRecyclerView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
|
33
|
+
super(context, attrs, defStyleAttr);
|
|
34
|
+
setLayoutManager(new LinearLayoutManager(context));
|
|
35
|
+
setItemAnimator(null);
|
|
36
|
+
setAdapter(resultAdapter);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public void updateResults(@Nullable BarcodeResultItem[] newResultItems) {
|
|
40
|
+
barcodeResultItems = newResultItems != null ? newResultItems : new BarcodeResultItem[0];
|
|
41
|
+
resultAdapter.updateResults(barcodeResultItems);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
private static class ResultAdapter extends Adapter<ResultAdapter.ViewHolder> {
|
|
45
|
+
private BarcodeResultItem[] barcodeResultItems;
|
|
46
|
+
|
|
47
|
+
public ResultAdapter(BarcodeResultItem[] barcodeResultItems) {
|
|
48
|
+
this.barcodeResultItems = barcodeResultItems;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@NonNull
|
|
52
|
+
@Override
|
|
53
|
+
public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
|
54
|
+
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_result, parent, false);
|
|
55
|
+
return new ViewHolder(view);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@SuppressLint("SetTextI18n")
|
|
59
|
+
@Override
|
|
60
|
+
public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
|
|
61
|
+
BarcodeResultItem barcodeResultItem = barcodeResultItems[position];
|
|
62
|
+
holder.tvFormat.setText("Format: " + barcodeResultItem.getFormatString());
|
|
63
|
+
holder.tvText.setText("Text: " + barcodeResultItem.getText());
|
|
64
|
+
holder.tvIndex.setText(String.valueOf(position + 1));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@Override
|
|
68
|
+
public int getItemCount() {
|
|
69
|
+
return barcodeResultItems.length;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@SuppressLint("NotifyDataSetChanged")
|
|
73
|
+
public void updateResults(@NonNull BarcodeResultItem[] newResultItems) {
|
|
74
|
+
this.barcodeResultItems = newResultItems;
|
|
75
|
+
notifyDataSetChanged();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static class ViewHolder extends RecyclerView.ViewHolder {
|
|
79
|
+
TextView tvFormat;
|
|
80
|
+
TextView tvText;
|
|
81
|
+
TextView tvIndex;
|
|
82
|
+
|
|
83
|
+
public ViewHolder(@NonNull View itemView) {
|
|
84
|
+
super(itemView);
|
|
85
|
+
tvFormat = itemView.findViewById(R.id.tv_code_format);
|
|
86
|
+
tvText = itemView.findViewById(R.id.tv_code_text);
|
|
87
|
+
tvIndex = itemView.findViewById(R.id.tv_index);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|