barkoder-nativescript 1.5.1 → 1.5.6
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 +115 -0
- package/barkoder-nativescript.android.ts +65 -0
- package/barkoder-nativescript.common.ts +55 -0
- package/barkoder-nativescript.ios.ts +68 -0
- package/package.json +1 -1
- package/platforms/android/barkoder.aar +0 -0
- package/platforms/android/barkoder_nativescript.aar +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Headers/iBarkoder.h +2 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Headers/iBarkoder.h +2 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +10 -10
- package/platforms/ios/BarkoderSDK.xcframework/Info.plist +5 -5
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/BarkoderSDK +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +12 -1
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Info.plist +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.abi.json +699 -3749
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +19 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftinterface +19 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +14 -3
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/BarkoderSDK +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +24 -2
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Info.plist +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +699 -3749
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +19 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +19 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +699 -3749
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +19 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +19 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +25 -25
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +14 -3
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +0 -85
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +0 -85
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/mrz.traineddata +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/mrzfast.traineddata +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +0 -85
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +0 -85
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/mrz.traineddata +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/mrzfast.traineddata +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BarkoderSDK
|
|
4
|
-
// swift-module-flags-ignorable: -
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name BarkoderSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Barkoder
|
|
7
7
|
@_exported import BarkoderSDK
|
|
@@ -66,7 +66,7 @@ extension UIKit.UIImage {
|
|
|
66
66
|
@objc public protocol BarkoderPerformanceDelegate {
|
|
67
67
|
@objc optional func performanceReceived(fps: Swift.Float, dps: Swift.Float)
|
|
68
68
|
}
|
|
69
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor
|
|
69
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
|
|
70
70
|
@objc public enum BarkoderResolution : Swift.Int {
|
|
71
71
|
case normal
|
|
72
72
|
case high
|
|
@@ -76,23 +76,23 @@ extension UIKit.UIImage {
|
|
|
76
76
|
get
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
@objc @_Concurrency.MainActor
|
|
79
|
+
@objc @_Concurrency.MainActor @preconcurrency public var config: BarkoderSDK.BarkoderConfig? {
|
|
80
80
|
@objc get
|
|
81
81
|
@objc set
|
|
82
82
|
}
|
|
83
|
-
@_Concurrency.MainActor
|
|
84
|
-
@objc @_Concurrency.MainActor
|
|
85
|
-
@objc @_Concurrency.MainActor
|
|
86
|
-
@objc @_Concurrency.MainActor
|
|
87
|
-
@objc @_Concurrency.MainActor
|
|
88
|
-
@objc @_Concurrency.MainActor
|
|
89
|
-
@objc @_Concurrency.MainActor
|
|
90
|
-
@objc @_Concurrency.MainActor
|
|
91
|
-
@objc @_Concurrency.MainActor
|
|
92
|
-
@objc @_Concurrency.MainActor
|
|
93
|
-
@objc @_Concurrency.MainActor
|
|
94
|
-
@_Concurrency.MainActor
|
|
95
|
-
@_Concurrency.MainActor
|
|
83
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
84
|
+
@objc @_Concurrency.MainActor @preconcurrency public func startCamera()
|
|
85
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
|
|
86
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
|
|
87
|
+
@objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
88
|
+
@objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
|
|
89
|
+
@objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
|
|
90
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setZoomFactor(_ zoomFactor: Swift.Float)
|
|
91
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
92
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
93
|
+
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
94
|
+
@_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
95
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
96
96
|
@objc deinit
|
|
97
97
|
}
|
|
98
98
|
extension CoreFoundation.CGRect {
|
|
@@ -108,6 +108,7 @@ extension CoreFoundation.CGRect {
|
|
|
108
108
|
}
|
|
109
109
|
@_inheritsConvenienceInitializers @objc public class BarkoderHelper : ObjectiveC.NSObject {
|
|
110
110
|
@objc public static func scanImage(_ image: UIKit.UIImage, bkdConfig: BarkoderSDK.BarkoderConfig, resultDelegate: any BarkoderSDK.BarkoderResultDelegate)
|
|
111
|
+
@objc public static func scanFromGallery(bkdConfig: BarkoderSDK.BarkoderConfig, resultDelegate: any BarkoderSDK.BarkoderResultDelegate)
|
|
111
112
|
@objc public enum BarkoderConfigTemplate : Swift.Int {
|
|
112
113
|
case all
|
|
113
114
|
case pdf_optimized
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BarkoderSDK
|
|
4
|
-
// swift-module-flags-ignorable: -
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name BarkoderSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Barkoder
|
|
7
7
|
@_exported import BarkoderSDK
|
|
@@ -66,7 +66,7 @@ extension UIKit.UIImage {
|
|
|
66
66
|
@objc public protocol BarkoderPerformanceDelegate {
|
|
67
67
|
@objc optional func performanceReceived(fps: Swift.Float, dps: Swift.Float)
|
|
68
68
|
}
|
|
69
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor
|
|
69
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
|
|
70
70
|
@objc public enum BarkoderResolution : Swift.Int {
|
|
71
71
|
case normal
|
|
72
72
|
case high
|
|
@@ -76,23 +76,23 @@ extension UIKit.UIImage {
|
|
|
76
76
|
get
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
@objc @_Concurrency.MainActor
|
|
79
|
+
@objc @_Concurrency.MainActor @preconcurrency public var config: BarkoderSDK.BarkoderConfig? {
|
|
80
80
|
@objc get
|
|
81
81
|
@objc set
|
|
82
82
|
}
|
|
83
|
-
@_Concurrency.MainActor
|
|
84
|
-
@objc @_Concurrency.MainActor
|
|
85
|
-
@objc @_Concurrency.MainActor
|
|
86
|
-
@objc @_Concurrency.MainActor
|
|
87
|
-
@objc @_Concurrency.MainActor
|
|
88
|
-
@objc @_Concurrency.MainActor
|
|
89
|
-
@objc @_Concurrency.MainActor
|
|
90
|
-
@objc @_Concurrency.MainActor
|
|
91
|
-
@objc @_Concurrency.MainActor
|
|
92
|
-
@objc @_Concurrency.MainActor
|
|
93
|
-
@objc @_Concurrency.MainActor
|
|
94
|
-
@_Concurrency.MainActor
|
|
95
|
-
@_Concurrency.MainActor
|
|
83
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
84
|
+
@objc @_Concurrency.MainActor @preconcurrency public func startCamera()
|
|
85
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
|
|
86
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
|
|
87
|
+
@objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
88
|
+
@objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
|
|
89
|
+
@objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
|
|
90
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setZoomFactor(_ zoomFactor: Swift.Float)
|
|
91
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
92
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
93
|
+
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
94
|
+
@_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
95
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
96
96
|
@objc deinit
|
|
97
97
|
}
|
|
98
98
|
extension CoreFoundation.CGRect {
|
|
@@ -108,6 +108,7 @@ extension CoreFoundation.CGRect {
|
|
|
108
108
|
}
|
|
109
109
|
@_inheritsConvenienceInitializers @objc public class BarkoderHelper : ObjectiveC.NSObject {
|
|
110
110
|
@objc public static func scanImage(_ image: UIKit.UIImage, bkdConfig: BarkoderSDK.BarkoderConfig, resultDelegate: any BarkoderSDK.BarkoderResultDelegate)
|
|
111
|
+
@objc public static func scanFromGallery(bkdConfig: BarkoderSDK.BarkoderConfig, resultDelegate: any BarkoderSDK.BarkoderResultDelegate)
|
|
111
112
|
@objc public enum BarkoderConfigTemplate : Swift.Int {
|
|
112
113
|
case all
|
|
113
114
|
case pdf_optimized
|