@microblink/blinkid-react-native 7.6.0 → 7.6.1
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/android/build.gradle +1 -1
- package/ios/BlinkIdSerializationUtilities.swift +1 -0
- package/ios/Frameworks/BlinkID.xcframework/Info.plist +5 -5
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID-Swift.h +19 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.abi.json +40 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftinterface +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +15 -15
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +3 -3
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID-Swift.h +38 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.abi.json +40 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +40 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +25 -25
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +3 -3
- package/ios/Frameworks/BlinkIDUX.xcframework/Info.plist +5 -5
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +81 -81
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.abi.json +261 -139
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeResources +3 -3
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.abi.json +261 -139
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +261 -139
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +26 -2
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
- package/lib/module/types.js +12 -0
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/types.d.ts +11 -0
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/types.ts +13 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature ExistentialAny -enable-experimental-feature DebugDescriptionMacro -module-name BlinkIDUX -package-name blinkid_ios
|
|
4
|
-
// swift-module-flags-ignorable: -interface-compiler-version 6.
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import BlinkID
|
|
7
7
|
import Combine
|
|
@@ -44,7 +44,9 @@ public actor BlinkIDAnalyzer : BlinkIDUX.CameraFrameAnalyzer {
|
|
|
44
44
|
public var stepTimeoutDuration: Foundation.TimeInterval {
|
|
45
45
|
get
|
|
46
46
|
}
|
|
47
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
47
48
|
public init(sdk: BlinkID.BlinkIDSdk, blinkIdSessionSettings: BlinkID.BlinkIDSessionSettings = BlinkIDSessionSettings(inputImageSource: .video), eventStream: BlinkIDUX.BlinkIDEventStream, classFilter: (any BlinkIDUX.BlinkIDClassFilter)? = nil) async throws
|
|
49
|
+
#endif
|
|
48
50
|
nonisolated public var sessionNumber: Swift.Int {
|
|
49
51
|
get
|
|
50
52
|
}
|
|
@@ -83,6 +85,7 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
87
|
@_inheritsConvenienceInitializers @_Concurrency.MainActor final public class BlinkIDUXModel : BlinkIDUX.ScanningViewModel<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType> {
|
|
88
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
86
89
|
@Combine.Published @_projectedValueProperty($result) @_Concurrency.MainActor final public var result: BlinkIDUX.BlinkIDResultState? {
|
|
87
90
|
get
|
|
88
91
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -90,11 +93,14 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
90
93
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
91
94
|
_modify
|
|
92
95
|
}
|
|
96
|
+
#endif
|
|
97
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
93
98
|
@_Concurrency.MainActor final public var $result: Combine.Published<BlinkIDUX.BlinkIDResultState?>.Publisher {
|
|
94
99
|
get
|
|
95
100
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
96
101
|
set
|
|
97
102
|
}
|
|
103
|
+
#endif
|
|
98
104
|
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, uxSettings: BlinkIDUX.ScanningUXSettings = ScanningUXSettings(), sessionNumber: Swift.Int)
|
|
99
105
|
@_Concurrency.MainActor override final public func analyze() async
|
|
100
106
|
@_Concurrency.MainActor override final public func processAnalyzerResult() async
|
|
@@ -137,7 +143,9 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
137
143
|
}
|
|
138
144
|
public protocol ScanningResultProtocol : Swift.Sendable {
|
|
139
145
|
associatedtype Result : Swift.Sendable
|
|
146
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
140
147
|
nonisolated var scanResult: Self.Result? { get }
|
|
148
|
+
#endif
|
|
141
149
|
}
|
|
142
150
|
public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Swift.Sendable, U : Swift.Sendable {
|
|
143
151
|
public typealias Result = T
|
|
@@ -145,9 +153,11 @@ public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Sw
|
|
|
145
153
|
case interrupted(U)
|
|
146
154
|
case cancelled
|
|
147
155
|
case ended
|
|
156
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
148
157
|
nonisolated public var scanResult: T? {
|
|
149
158
|
get
|
|
150
159
|
}
|
|
160
|
+
#endif
|
|
151
161
|
}
|
|
152
162
|
public protocol EventStream<Event> : Swift.Sendable {
|
|
153
163
|
associatedtype Event : Swift.Sendable
|
|
@@ -255,7 +265,9 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
255
265
|
@_Concurrency.MainActor func start() async
|
|
256
266
|
@_Concurrency.MainActor func stop() async
|
|
257
267
|
@_Concurrency.MainActor func focusAndExpose(at point: CoreFoundation.CGPoint) async
|
|
268
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
258
269
|
@_Concurrency.MainActor var error: (any Swift.Error)? { get }
|
|
270
|
+
#endif
|
|
259
271
|
@_Concurrency.MainActor var isTorchSupported: Swift.Bool { get }
|
|
260
272
|
@_Concurrency.MainActor var isTorchEnabled: Swift.Bool { get set }
|
|
261
273
|
@_Concurrency.MainActor var orientation: AVFoundation.AVCaptureVideoOrientation { get }
|
|
@@ -279,7 +291,9 @@ public enum CaptureMode : Swift.String, Swift.Identifiable, Swift.CaseIterable {
|
|
|
279
291
|
get
|
|
280
292
|
}
|
|
281
293
|
case video
|
|
294
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
282
295
|
public init?(rawValue: Swift.String)
|
|
296
|
+
#endif
|
|
283
297
|
public typealias AllCases = [BlinkIDUX.CaptureMode]
|
|
284
298
|
public typealias ID = BlinkIDUX.CaptureMode
|
|
285
299
|
public typealias RawValue = Swift.String
|
|
@@ -366,6 +380,7 @@ public struct ScanningUXSettings {
|
|
|
366
380
|
public init(showIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true, preferredCameraPosition: BlinkIDUX.Camera.CameraPosition = .back, allowHapticFeedback: Swift.Bool = true)
|
|
367
381
|
}
|
|
368
382
|
@_Concurrency.MainActor public class ScanningViewModel<T, U> : Foundation.ObservableObject {
|
|
383
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
369
384
|
@Combine.Published @_projectedValueProperty($scanningResult) @_Concurrency.MainActor public var scanningResult: T? {
|
|
370
385
|
get
|
|
371
386
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -373,11 +388,15 @@ public struct ScanningUXSettings {
|
|
|
373
388
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
374
389
|
_modify
|
|
375
390
|
}
|
|
391
|
+
#endif
|
|
392
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
376
393
|
@_Concurrency.MainActor public var $scanningResult: Combine.Published<T?>.Publisher {
|
|
377
394
|
get
|
|
378
395
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
379
396
|
set
|
|
380
397
|
}
|
|
398
|
+
#endif
|
|
399
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
381
400
|
@Combine.Published @_projectedValueProperty($alertType) @_Concurrency.MainActor public var alertType: U? {
|
|
382
401
|
get
|
|
383
402
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -385,11 +404,14 @@ public struct ScanningUXSettings {
|
|
|
385
404
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
386
405
|
_modify
|
|
387
406
|
}
|
|
407
|
+
#endif
|
|
408
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
388
409
|
@_Concurrency.MainActor public var $alertType: Combine.Published<U?>.Publisher {
|
|
389
410
|
get
|
|
390
411
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
391
412
|
set
|
|
392
413
|
}
|
|
414
|
+
#endif
|
|
393
415
|
@Combine.Published @_projectedValueProperty($roi) @_Concurrency.MainActor public var roi: BlinkID.RegionOfInterest {
|
|
394
416
|
get
|
|
395
417
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -495,7 +517,9 @@ public enum MicroblinkColor : Swift.String {
|
|
|
495
517
|
case background
|
|
496
518
|
case needHelpTooltipBackground
|
|
497
519
|
case toastBackgroundColor
|
|
520
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
498
521
|
public init?(rawValue: Swift.String)
|
|
522
|
+
#endif
|
|
499
523
|
public typealias RawValue = Swift.String
|
|
500
524
|
public var rawValue: Swift.String {
|
|
501
525
|
get
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature ExistentialAny -enable-experimental-feature DebugDescriptionMacro -module-name BlinkIDUX -package-name blinkid_ios
|
|
4
|
-
// swift-module-flags-ignorable: -interface-compiler-version 6.
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import BlinkID
|
|
7
7
|
import Combine
|
|
@@ -44,7 +44,9 @@ public actor BlinkIDAnalyzer : BlinkIDUX.CameraFrameAnalyzer {
|
|
|
44
44
|
public var stepTimeoutDuration: Foundation.TimeInterval {
|
|
45
45
|
get
|
|
46
46
|
}
|
|
47
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
47
48
|
public init(sdk: BlinkID.BlinkIDSdk, blinkIdSessionSettings: BlinkID.BlinkIDSessionSettings = BlinkIDSessionSettings(inputImageSource: .video), eventStream: BlinkIDUX.BlinkIDEventStream, classFilter: (any BlinkIDUX.BlinkIDClassFilter)? = nil) async throws
|
|
49
|
+
#endif
|
|
48
50
|
nonisolated public var sessionNumber: Swift.Int {
|
|
49
51
|
get
|
|
50
52
|
}
|
|
@@ -83,6 +85,7 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
87
|
@_inheritsConvenienceInitializers @_Concurrency.MainActor final public class BlinkIDUXModel : BlinkIDUX.ScanningViewModel<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType> {
|
|
88
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
86
89
|
@Combine.Published @_projectedValueProperty($result) @_Concurrency.MainActor final public var result: BlinkIDUX.BlinkIDResultState? {
|
|
87
90
|
get
|
|
88
91
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -90,11 +93,14 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
90
93
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
91
94
|
_modify
|
|
92
95
|
}
|
|
96
|
+
#endif
|
|
97
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
93
98
|
@_Concurrency.MainActor final public var $result: Combine.Published<BlinkIDUX.BlinkIDResultState?>.Publisher {
|
|
94
99
|
get
|
|
95
100
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
96
101
|
set
|
|
97
102
|
}
|
|
103
|
+
#endif
|
|
98
104
|
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, uxSettings: BlinkIDUX.ScanningUXSettings = ScanningUXSettings(), sessionNumber: Swift.Int)
|
|
99
105
|
@_Concurrency.MainActor override final public func analyze() async
|
|
100
106
|
@_Concurrency.MainActor override final public func processAnalyzerResult() async
|
|
@@ -137,7 +143,9 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
137
143
|
}
|
|
138
144
|
public protocol ScanningResultProtocol : Swift.Sendable {
|
|
139
145
|
associatedtype Result : Swift.Sendable
|
|
146
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
140
147
|
nonisolated var scanResult: Self.Result? { get }
|
|
148
|
+
#endif
|
|
141
149
|
}
|
|
142
150
|
public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Swift.Sendable, U : Swift.Sendable {
|
|
143
151
|
public typealias Result = T
|
|
@@ -145,9 +153,11 @@ public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Sw
|
|
|
145
153
|
case interrupted(U)
|
|
146
154
|
case cancelled
|
|
147
155
|
case ended
|
|
156
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
148
157
|
nonisolated public var scanResult: T? {
|
|
149
158
|
get
|
|
150
159
|
}
|
|
160
|
+
#endif
|
|
151
161
|
}
|
|
152
162
|
public protocol EventStream<Event> : Swift.Sendable {
|
|
153
163
|
associatedtype Event : Swift.Sendable
|
|
@@ -255,7 +265,9 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
255
265
|
@_Concurrency.MainActor func start() async
|
|
256
266
|
@_Concurrency.MainActor func stop() async
|
|
257
267
|
@_Concurrency.MainActor func focusAndExpose(at point: CoreFoundation.CGPoint) async
|
|
268
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
258
269
|
@_Concurrency.MainActor var error: (any Swift.Error)? { get }
|
|
270
|
+
#endif
|
|
259
271
|
@_Concurrency.MainActor var isTorchSupported: Swift.Bool { get }
|
|
260
272
|
@_Concurrency.MainActor var isTorchEnabled: Swift.Bool { get set }
|
|
261
273
|
@_Concurrency.MainActor var orientation: AVFoundation.AVCaptureVideoOrientation { get }
|
|
@@ -279,7 +291,9 @@ public enum CaptureMode : Swift.String, Swift.Identifiable, Swift.CaseIterable {
|
|
|
279
291
|
get
|
|
280
292
|
}
|
|
281
293
|
case video
|
|
294
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
282
295
|
public init?(rawValue: Swift.String)
|
|
296
|
+
#endif
|
|
283
297
|
public typealias AllCases = [BlinkIDUX.CaptureMode]
|
|
284
298
|
public typealias ID = BlinkIDUX.CaptureMode
|
|
285
299
|
public typealias RawValue = Swift.String
|
|
@@ -366,6 +380,7 @@ public struct ScanningUXSettings {
|
|
|
366
380
|
public init(showIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true, preferredCameraPosition: BlinkIDUX.Camera.CameraPosition = .back, allowHapticFeedback: Swift.Bool = true)
|
|
367
381
|
}
|
|
368
382
|
@_Concurrency.MainActor public class ScanningViewModel<T, U> : Foundation.ObservableObject {
|
|
383
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
369
384
|
@Combine.Published @_projectedValueProperty($scanningResult) @_Concurrency.MainActor public var scanningResult: T? {
|
|
370
385
|
get
|
|
371
386
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -373,11 +388,15 @@ public struct ScanningUXSettings {
|
|
|
373
388
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
374
389
|
_modify
|
|
375
390
|
}
|
|
391
|
+
#endif
|
|
392
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
376
393
|
@_Concurrency.MainActor public var $scanningResult: Combine.Published<T?>.Publisher {
|
|
377
394
|
get
|
|
378
395
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
379
396
|
set
|
|
380
397
|
}
|
|
398
|
+
#endif
|
|
399
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
381
400
|
@Combine.Published @_projectedValueProperty($alertType) @_Concurrency.MainActor public var alertType: U? {
|
|
382
401
|
get
|
|
383
402
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -385,11 +404,14 @@ public struct ScanningUXSettings {
|
|
|
385
404
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
386
405
|
_modify
|
|
387
406
|
}
|
|
407
|
+
#endif
|
|
408
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
388
409
|
@_Concurrency.MainActor public var $alertType: Combine.Published<U?>.Publisher {
|
|
389
410
|
get
|
|
390
411
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
391
412
|
set
|
|
392
413
|
}
|
|
414
|
+
#endif
|
|
393
415
|
@Combine.Published @_projectedValueProperty($roi) @_Concurrency.MainActor public var roi: BlinkID.RegionOfInterest {
|
|
394
416
|
get
|
|
395
417
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -495,7 +517,9 @@ public enum MicroblinkColor : Swift.String {
|
|
|
495
517
|
case background
|
|
496
518
|
case needHelpTooltipBackground
|
|
497
519
|
case toastBackgroundColor
|
|
520
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
498
521
|
public init?(rawValue: Swift.String)
|
|
522
|
+
#endif
|
|
499
523
|
public typealias RawValue = Swift.String
|
|
500
524
|
public var rawValue: Swift.String {
|
|
501
525
|
get
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature ExistentialAny -enable-experimental-feature DebugDescriptionMacro -module-name BlinkIDUX -package-name blinkid_ios
|
|
4
|
-
// swift-module-flags-ignorable: -interface-compiler-version 6.
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import BlinkID
|
|
7
7
|
import Combine
|
|
@@ -44,7 +44,9 @@ public actor BlinkIDAnalyzer : BlinkIDUX.CameraFrameAnalyzer {
|
|
|
44
44
|
public var stepTimeoutDuration: Foundation.TimeInterval {
|
|
45
45
|
get
|
|
46
46
|
}
|
|
47
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
47
48
|
public init(sdk: BlinkID.BlinkIDSdk, blinkIdSessionSettings: BlinkID.BlinkIDSessionSettings = BlinkIDSessionSettings(inputImageSource: .video), eventStream: BlinkIDUX.BlinkIDEventStream, classFilter: (any BlinkIDUX.BlinkIDClassFilter)? = nil) async throws
|
|
49
|
+
#endif
|
|
48
50
|
nonisolated public var sessionNumber: Swift.Int {
|
|
49
51
|
get
|
|
50
52
|
}
|
|
@@ -83,6 +85,7 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
87
|
@_inheritsConvenienceInitializers @_Concurrency.MainActor final public class BlinkIDUXModel : BlinkIDUX.ScanningViewModel<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType> {
|
|
88
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
86
89
|
@Combine.Published @_projectedValueProperty($result) @_Concurrency.MainActor final public var result: BlinkIDUX.BlinkIDResultState? {
|
|
87
90
|
get
|
|
88
91
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -90,11 +93,14 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
90
93
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
91
94
|
_modify
|
|
92
95
|
}
|
|
96
|
+
#endif
|
|
97
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
93
98
|
@_Concurrency.MainActor final public var $result: Combine.Published<BlinkIDUX.BlinkIDResultState?>.Publisher {
|
|
94
99
|
get
|
|
95
100
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
96
101
|
set
|
|
97
102
|
}
|
|
103
|
+
#endif
|
|
98
104
|
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, uxSettings: BlinkIDUX.ScanningUXSettings = ScanningUXSettings(), sessionNumber: Swift.Int)
|
|
99
105
|
@_Concurrency.MainActor override final public func analyze() async
|
|
100
106
|
@_Concurrency.MainActor override final public func processAnalyzerResult() async
|
|
@@ -137,7 +143,9 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
137
143
|
}
|
|
138
144
|
public protocol ScanningResultProtocol : Swift.Sendable {
|
|
139
145
|
associatedtype Result : Swift.Sendable
|
|
146
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
140
147
|
nonisolated var scanResult: Self.Result? { get }
|
|
148
|
+
#endif
|
|
141
149
|
}
|
|
142
150
|
public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Swift.Sendable, U : Swift.Sendable {
|
|
143
151
|
public typealias Result = T
|
|
@@ -145,9 +153,11 @@ public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Sw
|
|
|
145
153
|
case interrupted(U)
|
|
146
154
|
case cancelled
|
|
147
155
|
case ended
|
|
156
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
148
157
|
nonisolated public var scanResult: T? {
|
|
149
158
|
get
|
|
150
159
|
}
|
|
160
|
+
#endif
|
|
151
161
|
}
|
|
152
162
|
public protocol EventStream<Event> : Swift.Sendable {
|
|
153
163
|
associatedtype Event : Swift.Sendable
|
|
@@ -255,7 +265,9 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
255
265
|
@_Concurrency.MainActor func start() async
|
|
256
266
|
@_Concurrency.MainActor func stop() async
|
|
257
267
|
@_Concurrency.MainActor func focusAndExpose(at point: CoreFoundation.CGPoint) async
|
|
268
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
258
269
|
@_Concurrency.MainActor var error: (any Swift.Error)? { get }
|
|
270
|
+
#endif
|
|
259
271
|
@_Concurrency.MainActor var isTorchSupported: Swift.Bool { get }
|
|
260
272
|
@_Concurrency.MainActor var isTorchEnabled: Swift.Bool { get set }
|
|
261
273
|
@_Concurrency.MainActor var orientation: AVFoundation.AVCaptureVideoOrientation { get }
|
|
@@ -279,7 +291,9 @@ public enum CaptureMode : Swift.String, Swift.Identifiable, Swift.CaseIterable {
|
|
|
279
291
|
get
|
|
280
292
|
}
|
|
281
293
|
case video
|
|
294
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
282
295
|
public init?(rawValue: Swift.String)
|
|
296
|
+
#endif
|
|
283
297
|
public typealias AllCases = [BlinkIDUX.CaptureMode]
|
|
284
298
|
public typealias ID = BlinkIDUX.CaptureMode
|
|
285
299
|
public typealias RawValue = Swift.String
|
|
@@ -366,6 +380,7 @@ public struct ScanningUXSettings {
|
|
|
366
380
|
public init(showIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true, preferredCameraPosition: BlinkIDUX.Camera.CameraPosition = .back, allowHapticFeedback: Swift.Bool = true)
|
|
367
381
|
}
|
|
368
382
|
@_Concurrency.MainActor public class ScanningViewModel<T, U> : Foundation.ObservableObject {
|
|
383
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
369
384
|
@Combine.Published @_projectedValueProperty($scanningResult) @_Concurrency.MainActor public var scanningResult: T? {
|
|
370
385
|
get
|
|
371
386
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -373,11 +388,15 @@ public struct ScanningUXSettings {
|
|
|
373
388
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
374
389
|
_modify
|
|
375
390
|
}
|
|
391
|
+
#endif
|
|
392
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
376
393
|
@_Concurrency.MainActor public var $scanningResult: Combine.Published<T?>.Publisher {
|
|
377
394
|
get
|
|
378
395
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
379
396
|
set
|
|
380
397
|
}
|
|
398
|
+
#endif
|
|
399
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
381
400
|
@Combine.Published @_projectedValueProperty($alertType) @_Concurrency.MainActor public var alertType: U? {
|
|
382
401
|
get
|
|
383
402
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -385,11 +404,14 @@ public struct ScanningUXSettings {
|
|
|
385
404
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
386
405
|
_modify
|
|
387
406
|
}
|
|
407
|
+
#endif
|
|
408
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
388
409
|
@_Concurrency.MainActor public var $alertType: Combine.Published<U?>.Publisher {
|
|
389
410
|
get
|
|
390
411
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
391
412
|
set
|
|
392
413
|
}
|
|
414
|
+
#endif
|
|
393
415
|
@Combine.Published @_projectedValueProperty($roi) @_Concurrency.MainActor public var roi: BlinkID.RegionOfInterest {
|
|
394
416
|
get
|
|
395
417
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
@@ -495,7 +517,9 @@ public enum MicroblinkColor : Swift.String {
|
|
|
495
517
|
case background
|
|
496
518
|
case needHelpTooltipBackground
|
|
497
519
|
case toastBackgroundColor
|
|
520
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
498
521
|
public init?(rawValue: Swift.String)
|
|
522
|
+
#endif
|
|
499
523
|
public typealias RawValue = Swift.String
|
|
500
524
|
public var rawValue: Swift.String {
|
|
501
525
|
get
|