@microblink/blinkid-react-native 7.2.0 → 7.5.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/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdDeserializationUtilities.kt +2 -1
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +21 -3
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +14 -2
- package/ios/BlinkIdDeserializationUtilities.swift +3 -0
- package/ios/BlinkIdSerializationUtilities.swift +151 -53
- package/ios/BlinkidReactNativeModule.swift +22 -3
- 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 +24563 -16979
- 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 +14027 -608
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.private.swiftinterface +462 -14
- 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 +462 -14
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +17 -17
- 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 +49697 -34548
- 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 +14027 -608
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +462 -14
- 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 +462 -14
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +14027 -608
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +462 -14
- 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 +462 -14
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +27 -27
- 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/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/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +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 +708 -193
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +28 -41
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +28 -41
- 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 +28 -41
- 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 +6 -6
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
- 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 +708 -193
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +28 -41
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +28 -41
- 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 +28 -41
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +708 -193
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +28 -41
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +28 -41
- 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 +28 -41
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
- package/lib/module/NativeBlinkidReactNative.js +4 -4
- package/lib/module/NativeBlinkidReactNative.js.map +1 -1
- package/lib/module/blinkIdResult.js +34 -1
- package/lib/module/blinkIdResult.js.map +1 -1
- package/lib/module/blinkIdSettings.js +272 -259
- package/lib/module/blinkIdSettings.js.map +1 -1
- package/lib/module/blinkIdUtilities.js +2 -2
- package/lib/module/index.js +19 -19
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.js +30 -9
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts +1 -1
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdResult.d.ts +16 -1
- package/lib/typescript/src/blinkIdResult.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdSettings.d.ts +193 -181
- package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +6 -6
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +20 -1
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/NativeBlinkidReactNative.ts +25 -15
- package/src/blinkIdResult.ts +74 -74
- package/src/blinkIdSettings.ts +264 -250
- package/src/blinkIdUtilities.ts +4 -4
- package/src/index.tsx +56 -34
- package/src/types.ts +647 -688
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +0 -1575
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeSignature +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature ExistentialAny -module-name BlinkIDUX -package-name blinkid_ios
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target x86_64-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.1.2
|
|
4
5
|
import AVFoundation
|
|
5
6
|
import BlinkID
|
|
6
7
|
import Combine
|
|
@@ -40,7 +41,13 @@ public actor BlinkIDAnalyzer : BlinkIDUX.CameraFrameAnalyzer {
|
|
|
40
41
|
public typealias Event = BlinkIDUX.UIEvent
|
|
41
42
|
public typealias Result = BlinkIDUX.ScanningResult<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType>
|
|
42
43
|
public typealias Frame = BlinkID.CameraFrame
|
|
44
|
+
public var stepTimeoutDuration: Foundation.TimeInterval {
|
|
45
|
+
get
|
|
46
|
+
}
|
|
43
47
|
public init(sdk: BlinkID.BlinkIDSdk, blinkIdSessionSettings: BlinkID.BlinkIDSessionSettings = BlinkIDSessionSettings(inputImageSource: .video), eventStream: BlinkIDUX.BlinkIDEventStream, classFilter: (any BlinkIDUX.BlinkIDClassFilter)? = nil) async throws
|
|
48
|
+
nonisolated public var sessionNumber: Swift.Int {
|
|
49
|
+
get
|
|
50
|
+
}
|
|
44
51
|
public func analyze(image: BlinkIDUX.BlinkIDAnalyzer.Frame) async
|
|
45
52
|
public func cancel()
|
|
46
53
|
public func result() async -> BlinkIDUX.ScanningResult<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType>
|
|
@@ -88,7 +95,7 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
88
95
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
89
96
|
set
|
|
90
97
|
}
|
|
91
|
-
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true)
|
|
98
|
+
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true, sessionNumber: Swift.Int)
|
|
92
99
|
@_Concurrency.MainActor override final public func analyze() async
|
|
93
100
|
@_Concurrency.MainActor override final public func processAnalyzerResult() async
|
|
94
101
|
@_Concurrency.MainActor override final public func licenseErrorAlertDismised()
|
|
@@ -102,7 +109,6 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
102
109
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
103
110
|
get
|
|
104
111
|
}
|
|
105
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
106
112
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX0A8IDUXViewV4bodyQrvp", 0) __
|
|
107
113
|
}
|
|
108
114
|
@_hasMissingDesignatedInitializers final public class BlinkIDTheme : BlinkIDUX.UXThemeProtocol {
|
|
@@ -144,18 +150,10 @@ public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Sw
|
|
|
144
150
|
get
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
#if compiler(>=5.3) && $PrimaryAssociatedTypes2
|
|
148
153
|
public protocol EventStream<Event> : Swift.Sendable {
|
|
149
154
|
associatedtype Event : Swift.Sendable
|
|
150
155
|
var stream: _Concurrency.AsyncStream<[Self.Event]> { get async }
|
|
151
156
|
}
|
|
152
|
-
#else
|
|
153
|
-
public protocol EventStream : Swift.Sendable {
|
|
154
|
-
associatedtype Event : Swift.Sendable
|
|
155
|
-
var stream: _Concurrency.AsyncStream<[Self.Event]> { get async }
|
|
156
|
-
}
|
|
157
|
-
#endif
|
|
158
|
-
#if compiler(>=5.3) && $PrimaryAssociatedTypes2
|
|
159
157
|
public protocol CameraFrameAnalyzer<Frame, Event> : Swift.Sendable {
|
|
160
158
|
associatedtype Result : BlinkIDUX.ScanningResultProtocol
|
|
161
159
|
associatedtype Frame : Swift.Sendable
|
|
@@ -168,28 +166,15 @@ public protocol CameraFrameAnalyzer<Frame, Event> : Swift.Sendable {
|
|
|
168
166
|
func end() async
|
|
169
167
|
func result() async -> Self.Result
|
|
170
168
|
var events: any BlinkIDUX.EventStream<Self.Event> { get }
|
|
169
|
+
var stepTimeoutDuration: Foundation.TimeInterval { get async }
|
|
170
|
+
var sessionNumber: Swift.Int { get }
|
|
171
171
|
}
|
|
172
|
-
#else
|
|
173
|
-
public protocol CameraFrameAnalyzer : Swift.Sendable {
|
|
174
|
-
associatedtype Result : BlinkIDUX.ScanningResultProtocol
|
|
175
|
-
associatedtype Frame : Swift.Sendable
|
|
176
|
-
associatedtype Event : Swift.Sendable
|
|
177
|
-
func analyze(image: Self.Frame) async
|
|
178
|
-
func cancel() async
|
|
179
|
-
func pause() async
|
|
180
|
-
func resume() async
|
|
181
|
-
func restart() async throws
|
|
182
|
-
func end() async
|
|
183
|
-
func result() async -> Self.Result
|
|
184
|
-
var events: any BlinkIDUX.EventStream<Self.Event> { get }
|
|
185
|
-
}
|
|
186
|
-
#endif
|
|
187
172
|
public enum PassportOrientation : Swift.Sendable, Swift.Equatable {
|
|
188
173
|
case none
|
|
189
174
|
case left90
|
|
190
175
|
case right90
|
|
191
|
-
public func hash(into hasher: inout Swift.Hasher)
|
|
192
176
|
public static func == (a: BlinkIDUX.PassportOrientation, b: BlinkIDUX.PassportOrientation) -> Swift.Bool
|
|
177
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
193
178
|
public var hashValue: Swift.Int {
|
|
194
179
|
get
|
|
195
180
|
}
|
|
@@ -217,6 +202,7 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
217
202
|
@_Concurrency.MainActor final public var orientation: AVFoundation.AVCaptureVideoOrientation {
|
|
218
203
|
get
|
|
219
204
|
}
|
|
205
|
+
@_Concurrency.MainActor final public let captureService: BlinkIDUX.CaptureService
|
|
220
206
|
@_Concurrency.MainActor final public var previewSource: any BlinkIDUX.PreviewSource {
|
|
221
207
|
get
|
|
222
208
|
}
|
|
@@ -226,6 +212,7 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
226
212
|
@_Concurrency.MainActor public init()
|
|
227
213
|
@objc deinit
|
|
228
214
|
@_Concurrency.MainActor final public func start() async
|
|
215
|
+
@_Concurrency.MainActor final public func checkAuthorization(sessionNumber: Swift.Int) async
|
|
229
216
|
@_Concurrency.MainActor final public func stop() async
|
|
230
217
|
@_Concurrency.MainActor final public func focusAndExpose(at point: CoreFoundation.CGPoint) async
|
|
231
218
|
@_Concurrency.MainActor final public var sampleBuffer: _Concurrency.AsyncStream<BlinkIDUX.SampleBuffer> {
|
|
@@ -241,6 +228,13 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
241
228
|
final public let buffer: CoreMedia.CMSampleBuffer
|
|
242
229
|
@objc deinit
|
|
243
230
|
}
|
|
231
|
+
@_hasMissingDesignatedInitializers public actor CaptureService {
|
|
232
|
+
@objc deinit
|
|
233
|
+
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
234
|
+
@_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor {
|
|
235
|
+
get
|
|
236
|
+
}
|
|
237
|
+
}
|
|
244
238
|
@_Concurrency.MainActor public protocol CameraModel : AnyObject {
|
|
245
239
|
@_Concurrency.MainActor var status: BlinkIDUX.CameraStatus { get }
|
|
246
240
|
@_Concurrency.MainActor var previewSource: any BlinkIDUX.PreviewSource { get }
|
|
@@ -274,7 +268,6 @@ public enum CaptureMode : Swift.String, Swift.Identifiable, Swift.CaseIterable {
|
|
|
274
268
|
case video
|
|
275
269
|
public init?(rawValue: Swift.String)
|
|
276
270
|
public typealias AllCases = [BlinkIDUX.CaptureMode]
|
|
277
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
278
271
|
public typealias ID = BlinkIDUX.CaptureMode
|
|
279
272
|
public typealias RawValue = Swift.String
|
|
280
273
|
nonisolated public static var allCases: [BlinkIDUX.CaptureMode] {
|
|
@@ -308,15 +301,8 @@ public enum CaptureActivity {
|
|
|
308
301
|
nonisolated public func setSession(_ session: AVFoundation.AVCaptureSession)
|
|
309
302
|
@objc deinit
|
|
310
303
|
}
|
|
311
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
312
304
|
public typealias Body = Swift.Never
|
|
313
|
-
@available(iOS 13.0, tvOS 13.0, *)
|
|
314
|
-
@available(watchOS, unavailable)
|
|
315
|
-
@available(macOS, unavailable)
|
|
316
305
|
public typealias Coordinator = Swift.Void
|
|
317
|
-
@available(iOS 13.0, tvOS 13.0, *)
|
|
318
|
-
@available(watchOS, unavailable)
|
|
319
|
-
@available(macOS, unavailable)
|
|
320
306
|
public typealias UIViewType = BlinkIDUX.CameraPreview.PreviewView
|
|
321
307
|
}
|
|
322
308
|
public protocol PreviewSource : Swift.Sendable {
|
|
@@ -330,7 +316,6 @@ public protocol PreviewTarget {
|
|
|
330
316
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
331
317
|
get
|
|
332
318
|
}
|
|
333
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
334
319
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX10CameraViewV4bodyQrvp", 0) __<Camera>
|
|
335
320
|
}
|
|
336
321
|
@_Concurrency.MainActor public class NetworkMonitor : Combine.ObservableObject {
|
|
@@ -351,7 +336,6 @@ public protocol PreviewTarget {
|
|
|
351
336
|
}
|
|
352
337
|
@_Concurrency.MainActor public init()
|
|
353
338
|
@objc deinit
|
|
354
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
355
339
|
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
|
|
356
340
|
}
|
|
357
341
|
@_Concurrency.MainActor @preconcurrency public struct NoInternetView : SwiftUICore.View {
|
|
@@ -359,7 +343,6 @@ public protocol PreviewTarget {
|
|
|
359
343
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
360
344
|
get
|
|
361
345
|
}
|
|
362
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
363
346
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX14NoInternetViewV4bodyQrvp", 0) __
|
|
364
347
|
}
|
|
365
348
|
public protocol AlertTypeProtocol {
|
|
@@ -447,7 +430,7 @@ public protocol AlertTypeProtocol {
|
|
|
447
430
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
448
431
|
set
|
|
449
432
|
}
|
|
450
|
-
@_Concurrency.MainActor public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = false, showHelpButton: Swift.Bool = false)
|
|
433
|
+
@_Concurrency.MainActor public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = false, showHelpButton: Swift.Bool = false, sessionNumber: Swift.Int)
|
|
451
434
|
@objc deinit
|
|
452
435
|
@_Concurrency.MainActor public func analyze() async
|
|
453
436
|
@_Concurrency.MainActor public func processAnalyzerResult() async
|
|
@@ -460,7 +443,6 @@ public protocol AlertTypeProtocol {
|
|
|
460
443
|
@_Concurrency.MainActor public func resumeScanning()
|
|
461
444
|
@_Concurrency.MainActor public func restartScanning()
|
|
462
445
|
@_Concurrency.MainActor public func scanningDidCancel()
|
|
463
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
464
446
|
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
|
|
465
447
|
}
|
|
466
448
|
public protocol UXThemeProtocol {
|
|
@@ -521,6 +503,10 @@ public enum ReticleState {
|
|
|
521
503
|
case passport(Swift.String)
|
|
522
504
|
case inactiveWithMessage(Swift.String)
|
|
523
505
|
public static func == (a: BlinkIDUX.ReticleState, b: BlinkIDUX.ReticleState) -> Swift.Bool
|
|
506
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
507
|
+
public var hashValue: Swift.Int {
|
|
508
|
+
get
|
|
509
|
+
}
|
|
524
510
|
}
|
|
525
511
|
public enum UIEvent : Swift.Equatable, Swift.Sendable {
|
|
526
512
|
case requestDocumentSide(side: BlinkIDUX.DocumentSide)
|
|
@@ -560,4 +546,5 @@ extension BlinkIDUX.ScanningViewModel : Swift.Sendable {}
|
|
|
560
546
|
extension BlinkIDUX.MicroblinkColor : Swift.Equatable {}
|
|
561
547
|
extension BlinkIDUX.MicroblinkColor : Swift.Hashable {}
|
|
562
548
|
extension BlinkIDUX.MicroblinkColor : Swift.RawRepresentable {}
|
|
549
|
+
extension BlinkIDUX.ReticleState : Swift.Hashable {}
|
|
563
550
|
extension BlinkIDUX.ReticleState : Swift.Equatable {}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature ExistentialAny -module-name BlinkIDUX -package-name blinkid_ios
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target x86_64-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.1.2
|
|
4
5
|
import AVFoundation
|
|
5
6
|
import BlinkID
|
|
6
7
|
import Combine
|
|
@@ -40,7 +41,13 @@ public actor BlinkIDAnalyzer : BlinkIDUX.CameraFrameAnalyzer {
|
|
|
40
41
|
public typealias Event = BlinkIDUX.UIEvent
|
|
41
42
|
public typealias Result = BlinkIDUX.ScanningResult<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType>
|
|
42
43
|
public typealias Frame = BlinkID.CameraFrame
|
|
44
|
+
public var stepTimeoutDuration: Foundation.TimeInterval {
|
|
45
|
+
get
|
|
46
|
+
}
|
|
43
47
|
public init(sdk: BlinkID.BlinkIDSdk, blinkIdSessionSettings: BlinkID.BlinkIDSessionSettings = BlinkIDSessionSettings(inputImageSource: .video), eventStream: BlinkIDUX.BlinkIDEventStream, classFilter: (any BlinkIDUX.BlinkIDClassFilter)? = nil) async throws
|
|
48
|
+
nonisolated public var sessionNumber: Swift.Int {
|
|
49
|
+
get
|
|
50
|
+
}
|
|
44
51
|
public func analyze(image: BlinkIDUX.BlinkIDAnalyzer.Frame) async
|
|
45
52
|
public func cancel()
|
|
46
53
|
public func result() async -> BlinkIDUX.ScanningResult<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType>
|
|
@@ -88,7 +95,7 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
88
95
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
89
96
|
set
|
|
90
97
|
}
|
|
91
|
-
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true)
|
|
98
|
+
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true, sessionNumber: Swift.Int)
|
|
92
99
|
@_Concurrency.MainActor override final public func analyze() async
|
|
93
100
|
@_Concurrency.MainActor override final public func processAnalyzerResult() async
|
|
94
101
|
@_Concurrency.MainActor override final public func licenseErrorAlertDismised()
|
|
@@ -102,7 +109,6 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
102
109
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
103
110
|
get
|
|
104
111
|
}
|
|
105
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
106
112
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX0A8IDUXViewV4bodyQrvp", 0) __
|
|
107
113
|
}
|
|
108
114
|
@_hasMissingDesignatedInitializers final public class BlinkIDTheme : BlinkIDUX.UXThemeProtocol {
|
|
@@ -144,18 +150,10 @@ public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Sw
|
|
|
144
150
|
get
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
#if compiler(>=5.3) && $PrimaryAssociatedTypes2
|
|
148
153
|
public protocol EventStream<Event> : Swift.Sendable {
|
|
149
154
|
associatedtype Event : Swift.Sendable
|
|
150
155
|
var stream: _Concurrency.AsyncStream<[Self.Event]> { get async }
|
|
151
156
|
}
|
|
152
|
-
#else
|
|
153
|
-
public protocol EventStream : Swift.Sendable {
|
|
154
|
-
associatedtype Event : Swift.Sendable
|
|
155
|
-
var stream: _Concurrency.AsyncStream<[Self.Event]> { get async }
|
|
156
|
-
}
|
|
157
|
-
#endif
|
|
158
|
-
#if compiler(>=5.3) && $PrimaryAssociatedTypes2
|
|
159
157
|
public protocol CameraFrameAnalyzer<Frame, Event> : Swift.Sendable {
|
|
160
158
|
associatedtype Result : BlinkIDUX.ScanningResultProtocol
|
|
161
159
|
associatedtype Frame : Swift.Sendable
|
|
@@ -168,28 +166,15 @@ public protocol CameraFrameAnalyzer<Frame, Event> : Swift.Sendable {
|
|
|
168
166
|
func end() async
|
|
169
167
|
func result() async -> Self.Result
|
|
170
168
|
var events: any BlinkIDUX.EventStream<Self.Event> { get }
|
|
169
|
+
var stepTimeoutDuration: Foundation.TimeInterval { get async }
|
|
170
|
+
var sessionNumber: Swift.Int { get }
|
|
171
171
|
}
|
|
172
|
-
#else
|
|
173
|
-
public protocol CameraFrameAnalyzer : Swift.Sendable {
|
|
174
|
-
associatedtype Result : BlinkIDUX.ScanningResultProtocol
|
|
175
|
-
associatedtype Frame : Swift.Sendable
|
|
176
|
-
associatedtype Event : Swift.Sendable
|
|
177
|
-
func analyze(image: Self.Frame) async
|
|
178
|
-
func cancel() async
|
|
179
|
-
func pause() async
|
|
180
|
-
func resume() async
|
|
181
|
-
func restart() async throws
|
|
182
|
-
func end() async
|
|
183
|
-
func result() async -> Self.Result
|
|
184
|
-
var events: any BlinkIDUX.EventStream<Self.Event> { get }
|
|
185
|
-
}
|
|
186
|
-
#endif
|
|
187
172
|
public enum PassportOrientation : Swift.Sendable, Swift.Equatable {
|
|
188
173
|
case none
|
|
189
174
|
case left90
|
|
190
175
|
case right90
|
|
191
|
-
public func hash(into hasher: inout Swift.Hasher)
|
|
192
176
|
public static func == (a: BlinkIDUX.PassportOrientation, b: BlinkIDUX.PassportOrientation) -> Swift.Bool
|
|
177
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
193
178
|
public var hashValue: Swift.Int {
|
|
194
179
|
get
|
|
195
180
|
}
|
|
@@ -217,6 +202,7 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
217
202
|
@_Concurrency.MainActor final public var orientation: AVFoundation.AVCaptureVideoOrientation {
|
|
218
203
|
get
|
|
219
204
|
}
|
|
205
|
+
@_Concurrency.MainActor final public let captureService: BlinkIDUX.CaptureService
|
|
220
206
|
@_Concurrency.MainActor final public var previewSource: any BlinkIDUX.PreviewSource {
|
|
221
207
|
get
|
|
222
208
|
}
|
|
@@ -226,6 +212,7 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
226
212
|
@_Concurrency.MainActor public init()
|
|
227
213
|
@objc deinit
|
|
228
214
|
@_Concurrency.MainActor final public func start() async
|
|
215
|
+
@_Concurrency.MainActor final public func checkAuthorization(sessionNumber: Swift.Int) async
|
|
229
216
|
@_Concurrency.MainActor final public func stop() async
|
|
230
217
|
@_Concurrency.MainActor final public func focusAndExpose(at point: CoreFoundation.CGPoint) async
|
|
231
218
|
@_Concurrency.MainActor final public var sampleBuffer: _Concurrency.AsyncStream<BlinkIDUX.SampleBuffer> {
|
|
@@ -241,6 +228,13 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
241
228
|
final public let buffer: CoreMedia.CMSampleBuffer
|
|
242
229
|
@objc deinit
|
|
243
230
|
}
|
|
231
|
+
@_hasMissingDesignatedInitializers public actor CaptureService {
|
|
232
|
+
@objc deinit
|
|
233
|
+
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
234
|
+
@_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor {
|
|
235
|
+
get
|
|
236
|
+
}
|
|
237
|
+
}
|
|
244
238
|
@_Concurrency.MainActor public protocol CameraModel : AnyObject {
|
|
245
239
|
@_Concurrency.MainActor var status: BlinkIDUX.CameraStatus { get }
|
|
246
240
|
@_Concurrency.MainActor var previewSource: any BlinkIDUX.PreviewSource { get }
|
|
@@ -274,7 +268,6 @@ public enum CaptureMode : Swift.String, Swift.Identifiable, Swift.CaseIterable {
|
|
|
274
268
|
case video
|
|
275
269
|
public init?(rawValue: Swift.String)
|
|
276
270
|
public typealias AllCases = [BlinkIDUX.CaptureMode]
|
|
277
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
278
271
|
public typealias ID = BlinkIDUX.CaptureMode
|
|
279
272
|
public typealias RawValue = Swift.String
|
|
280
273
|
nonisolated public static var allCases: [BlinkIDUX.CaptureMode] {
|
|
@@ -308,15 +301,8 @@ public enum CaptureActivity {
|
|
|
308
301
|
nonisolated public func setSession(_ session: AVFoundation.AVCaptureSession)
|
|
309
302
|
@objc deinit
|
|
310
303
|
}
|
|
311
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
312
304
|
public typealias Body = Swift.Never
|
|
313
|
-
@available(iOS 13.0, tvOS 13.0, *)
|
|
314
|
-
@available(watchOS, unavailable)
|
|
315
|
-
@available(macOS, unavailable)
|
|
316
305
|
public typealias Coordinator = Swift.Void
|
|
317
|
-
@available(iOS 13.0, tvOS 13.0, *)
|
|
318
|
-
@available(watchOS, unavailable)
|
|
319
|
-
@available(macOS, unavailable)
|
|
320
306
|
public typealias UIViewType = BlinkIDUX.CameraPreview.PreviewView
|
|
321
307
|
}
|
|
322
308
|
public protocol PreviewSource : Swift.Sendable {
|
|
@@ -330,7 +316,6 @@ public protocol PreviewTarget {
|
|
|
330
316
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
331
317
|
get
|
|
332
318
|
}
|
|
333
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
334
319
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX10CameraViewV4bodyQrvp", 0) __<Camera>
|
|
335
320
|
}
|
|
336
321
|
@_Concurrency.MainActor public class NetworkMonitor : Combine.ObservableObject {
|
|
@@ -351,7 +336,6 @@ public protocol PreviewTarget {
|
|
|
351
336
|
}
|
|
352
337
|
@_Concurrency.MainActor public init()
|
|
353
338
|
@objc deinit
|
|
354
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
355
339
|
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
|
|
356
340
|
}
|
|
357
341
|
@_Concurrency.MainActor @preconcurrency public struct NoInternetView : SwiftUICore.View {
|
|
@@ -359,7 +343,6 @@ public protocol PreviewTarget {
|
|
|
359
343
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
360
344
|
get
|
|
361
345
|
}
|
|
362
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
363
346
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX14NoInternetViewV4bodyQrvp", 0) __
|
|
364
347
|
}
|
|
365
348
|
public protocol AlertTypeProtocol {
|
|
@@ -447,7 +430,7 @@ public protocol AlertTypeProtocol {
|
|
|
447
430
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
448
431
|
set
|
|
449
432
|
}
|
|
450
|
-
@_Concurrency.MainActor public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = false, showHelpButton: Swift.Bool = false)
|
|
433
|
+
@_Concurrency.MainActor public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = false, showHelpButton: Swift.Bool = false, sessionNumber: Swift.Int)
|
|
451
434
|
@objc deinit
|
|
452
435
|
@_Concurrency.MainActor public func analyze() async
|
|
453
436
|
@_Concurrency.MainActor public func processAnalyzerResult() async
|
|
@@ -460,7 +443,6 @@ public protocol AlertTypeProtocol {
|
|
|
460
443
|
@_Concurrency.MainActor public func resumeScanning()
|
|
461
444
|
@_Concurrency.MainActor public func restartScanning()
|
|
462
445
|
@_Concurrency.MainActor public func scanningDidCancel()
|
|
463
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
464
446
|
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
|
|
465
447
|
}
|
|
466
448
|
public protocol UXThemeProtocol {
|
|
@@ -521,6 +503,10 @@ public enum ReticleState {
|
|
|
521
503
|
case passport(Swift.String)
|
|
522
504
|
case inactiveWithMessage(Swift.String)
|
|
523
505
|
public static func == (a: BlinkIDUX.ReticleState, b: BlinkIDUX.ReticleState) -> Swift.Bool
|
|
506
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
507
|
+
public var hashValue: Swift.Int {
|
|
508
|
+
get
|
|
509
|
+
}
|
|
524
510
|
}
|
|
525
511
|
public enum UIEvent : Swift.Equatable, Swift.Sendable {
|
|
526
512
|
case requestDocumentSide(side: BlinkIDUX.DocumentSide)
|
|
@@ -560,4 +546,5 @@ extension BlinkIDUX.ScanningViewModel : Swift.Sendable {}
|
|
|
560
546
|
extension BlinkIDUX.MicroblinkColor : Swift.Equatable {}
|
|
561
547
|
extension BlinkIDUX.MicroblinkColor : Swift.Hashable {}
|
|
562
548
|
extension BlinkIDUX.MicroblinkColor : Swift.RawRepresentable {}
|
|
549
|
+
extension BlinkIDUX.ReticleState : Swift.Hashable {}
|
|
563
550
|
extension BlinkIDUX.ReticleState : Swift.Equatable {}
|
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature ExistentialAny -module-name BlinkIDUX -package-name blinkid_ios
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target x86_64-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.1.2
|
|
4
5
|
import AVFoundation
|
|
5
6
|
import BlinkID
|
|
6
7
|
import Combine
|
|
@@ -40,7 +41,13 @@ public actor BlinkIDAnalyzer : BlinkIDUX.CameraFrameAnalyzer {
|
|
|
40
41
|
public typealias Event = BlinkIDUX.UIEvent
|
|
41
42
|
public typealias Result = BlinkIDUX.ScanningResult<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType>
|
|
42
43
|
public typealias Frame = BlinkID.CameraFrame
|
|
44
|
+
public var stepTimeoutDuration: Foundation.TimeInterval {
|
|
45
|
+
get
|
|
46
|
+
}
|
|
43
47
|
public init(sdk: BlinkID.BlinkIDSdk, blinkIdSessionSettings: BlinkID.BlinkIDSessionSettings = BlinkIDSessionSettings(inputImageSource: .video), eventStream: BlinkIDUX.BlinkIDEventStream, classFilter: (any BlinkIDUX.BlinkIDClassFilter)? = nil) async throws
|
|
48
|
+
nonisolated public var sessionNumber: Swift.Int {
|
|
49
|
+
get
|
|
50
|
+
}
|
|
44
51
|
public func analyze(image: BlinkIDUX.BlinkIDAnalyzer.Frame) async
|
|
45
52
|
public func cancel()
|
|
46
53
|
public func result() async -> BlinkIDUX.ScanningResult<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType>
|
|
@@ -88,7 +95,7 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
88
95
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
89
96
|
set
|
|
90
97
|
}
|
|
91
|
-
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true)
|
|
98
|
+
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true, sessionNumber: Swift.Int)
|
|
92
99
|
@_Concurrency.MainActor override final public func analyze() async
|
|
93
100
|
@_Concurrency.MainActor override final public func processAnalyzerResult() async
|
|
94
101
|
@_Concurrency.MainActor override final public func licenseErrorAlertDismised()
|
|
@@ -102,7 +109,6 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
102
109
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
103
110
|
get
|
|
104
111
|
}
|
|
105
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
106
112
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX0A8IDUXViewV4bodyQrvp", 0) __
|
|
107
113
|
}
|
|
108
114
|
@_hasMissingDesignatedInitializers final public class BlinkIDTheme : BlinkIDUX.UXThemeProtocol {
|
|
@@ -144,18 +150,10 @@ public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Sw
|
|
|
144
150
|
get
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
#if compiler(>=5.3) && $PrimaryAssociatedTypes2
|
|
148
153
|
public protocol EventStream<Event> : Swift.Sendable {
|
|
149
154
|
associatedtype Event : Swift.Sendable
|
|
150
155
|
var stream: _Concurrency.AsyncStream<[Self.Event]> { get async }
|
|
151
156
|
}
|
|
152
|
-
#else
|
|
153
|
-
public protocol EventStream : Swift.Sendable {
|
|
154
|
-
associatedtype Event : Swift.Sendable
|
|
155
|
-
var stream: _Concurrency.AsyncStream<[Self.Event]> { get async }
|
|
156
|
-
}
|
|
157
|
-
#endif
|
|
158
|
-
#if compiler(>=5.3) && $PrimaryAssociatedTypes2
|
|
159
157
|
public protocol CameraFrameAnalyzer<Frame, Event> : Swift.Sendable {
|
|
160
158
|
associatedtype Result : BlinkIDUX.ScanningResultProtocol
|
|
161
159
|
associatedtype Frame : Swift.Sendable
|
|
@@ -168,28 +166,15 @@ public protocol CameraFrameAnalyzer<Frame, Event> : Swift.Sendable {
|
|
|
168
166
|
func end() async
|
|
169
167
|
func result() async -> Self.Result
|
|
170
168
|
var events: any BlinkIDUX.EventStream<Self.Event> { get }
|
|
169
|
+
var stepTimeoutDuration: Foundation.TimeInterval { get async }
|
|
170
|
+
var sessionNumber: Swift.Int { get }
|
|
171
171
|
}
|
|
172
|
-
#else
|
|
173
|
-
public protocol CameraFrameAnalyzer : Swift.Sendable {
|
|
174
|
-
associatedtype Result : BlinkIDUX.ScanningResultProtocol
|
|
175
|
-
associatedtype Frame : Swift.Sendable
|
|
176
|
-
associatedtype Event : Swift.Sendable
|
|
177
|
-
func analyze(image: Self.Frame) async
|
|
178
|
-
func cancel() async
|
|
179
|
-
func pause() async
|
|
180
|
-
func resume() async
|
|
181
|
-
func restart() async throws
|
|
182
|
-
func end() async
|
|
183
|
-
func result() async -> Self.Result
|
|
184
|
-
var events: any BlinkIDUX.EventStream<Self.Event> { get }
|
|
185
|
-
}
|
|
186
|
-
#endif
|
|
187
172
|
public enum PassportOrientation : Swift.Sendable, Swift.Equatable {
|
|
188
173
|
case none
|
|
189
174
|
case left90
|
|
190
175
|
case right90
|
|
191
|
-
public func hash(into hasher: inout Swift.Hasher)
|
|
192
176
|
public static func == (a: BlinkIDUX.PassportOrientation, b: BlinkIDUX.PassportOrientation) -> Swift.Bool
|
|
177
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
193
178
|
public var hashValue: Swift.Int {
|
|
194
179
|
get
|
|
195
180
|
}
|
|
@@ -217,6 +202,7 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
217
202
|
@_Concurrency.MainActor final public var orientation: AVFoundation.AVCaptureVideoOrientation {
|
|
218
203
|
get
|
|
219
204
|
}
|
|
205
|
+
@_Concurrency.MainActor final public let captureService: BlinkIDUX.CaptureService
|
|
220
206
|
@_Concurrency.MainActor final public var previewSource: any BlinkIDUX.PreviewSource {
|
|
221
207
|
get
|
|
222
208
|
}
|
|
@@ -226,6 +212,7 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
226
212
|
@_Concurrency.MainActor public init()
|
|
227
213
|
@objc deinit
|
|
228
214
|
@_Concurrency.MainActor final public func start() async
|
|
215
|
+
@_Concurrency.MainActor final public func checkAuthorization(sessionNumber: Swift.Int) async
|
|
229
216
|
@_Concurrency.MainActor final public func stop() async
|
|
230
217
|
@_Concurrency.MainActor final public func focusAndExpose(at point: CoreFoundation.CGPoint) async
|
|
231
218
|
@_Concurrency.MainActor final public var sampleBuffer: _Concurrency.AsyncStream<BlinkIDUX.SampleBuffer> {
|
|
@@ -241,6 +228,13 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
241
228
|
final public let buffer: CoreMedia.CMSampleBuffer
|
|
242
229
|
@objc deinit
|
|
243
230
|
}
|
|
231
|
+
@_hasMissingDesignatedInitializers public actor CaptureService {
|
|
232
|
+
@objc deinit
|
|
233
|
+
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
234
|
+
@_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor {
|
|
235
|
+
get
|
|
236
|
+
}
|
|
237
|
+
}
|
|
244
238
|
@_Concurrency.MainActor public protocol CameraModel : AnyObject {
|
|
245
239
|
@_Concurrency.MainActor var status: BlinkIDUX.CameraStatus { get }
|
|
246
240
|
@_Concurrency.MainActor var previewSource: any BlinkIDUX.PreviewSource { get }
|
|
@@ -274,7 +268,6 @@ public enum CaptureMode : Swift.String, Swift.Identifiable, Swift.CaseIterable {
|
|
|
274
268
|
case video
|
|
275
269
|
public init?(rawValue: Swift.String)
|
|
276
270
|
public typealias AllCases = [BlinkIDUX.CaptureMode]
|
|
277
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
278
271
|
public typealias ID = BlinkIDUX.CaptureMode
|
|
279
272
|
public typealias RawValue = Swift.String
|
|
280
273
|
nonisolated public static var allCases: [BlinkIDUX.CaptureMode] {
|
|
@@ -308,15 +301,8 @@ public enum CaptureActivity {
|
|
|
308
301
|
nonisolated public func setSession(_ session: AVFoundation.AVCaptureSession)
|
|
309
302
|
@objc deinit
|
|
310
303
|
}
|
|
311
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
312
304
|
public typealias Body = Swift.Never
|
|
313
|
-
@available(iOS 13.0, tvOS 13.0, *)
|
|
314
|
-
@available(watchOS, unavailable)
|
|
315
|
-
@available(macOS, unavailable)
|
|
316
305
|
public typealias Coordinator = Swift.Void
|
|
317
|
-
@available(iOS 13.0, tvOS 13.0, *)
|
|
318
|
-
@available(watchOS, unavailable)
|
|
319
|
-
@available(macOS, unavailable)
|
|
320
306
|
public typealias UIViewType = BlinkIDUX.CameraPreview.PreviewView
|
|
321
307
|
}
|
|
322
308
|
public protocol PreviewSource : Swift.Sendable {
|
|
@@ -330,7 +316,6 @@ public protocol PreviewTarget {
|
|
|
330
316
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
331
317
|
get
|
|
332
318
|
}
|
|
333
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
334
319
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX10CameraViewV4bodyQrvp", 0) __<Camera>
|
|
335
320
|
}
|
|
336
321
|
@_Concurrency.MainActor public class NetworkMonitor : Combine.ObservableObject {
|
|
@@ -351,7 +336,6 @@ public protocol PreviewTarget {
|
|
|
351
336
|
}
|
|
352
337
|
@_Concurrency.MainActor public init()
|
|
353
338
|
@objc deinit
|
|
354
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
355
339
|
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
|
|
356
340
|
}
|
|
357
341
|
@_Concurrency.MainActor @preconcurrency public struct NoInternetView : SwiftUICore.View {
|
|
@@ -359,7 +343,6 @@ public protocol PreviewTarget {
|
|
|
359
343
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
360
344
|
get
|
|
361
345
|
}
|
|
362
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
363
346
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX14NoInternetViewV4bodyQrvp", 0) __
|
|
364
347
|
}
|
|
365
348
|
public protocol AlertTypeProtocol {
|
|
@@ -447,7 +430,7 @@ public protocol AlertTypeProtocol {
|
|
|
447
430
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
448
431
|
set
|
|
449
432
|
}
|
|
450
|
-
@_Concurrency.MainActor public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = false, showHelpButton: Swift.Bool = false)
|
|
433
|
+
@_Concurrency.MainActor public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, shouldShowIntroductionAlert: Swift.Bool = false, showHelpButton: Swift.Bool = false, sessionNumber: Swift.Int)
|
|
451
434
|
@objc deinit
|
|
452
435
|
@_Concurrency.MainActor public func analyze() async
|
|
453
436
|
@_Concurrency.MainActor public func processAnalyzerResult() async
|
|
@@ -460,7 +443,6 @@ public protocol AlertTypeProtocol {
|
|
|
460
443
|
@_Concurrency.MainActor public func resumeScanning()
|
|
461
444
|
@_Concurrency.MainActor public func restartScanning()
|
|
462
445
|
@_Concurrency.MainActor public func scanningDidCancel()
|
|
463
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
464
446
|
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
|
|
465
447
|
}
|
|
466
448
|
public protocol UXThemeProtocol {
|
|
@@ -521,6 +503,10 @@ public enum ReticleState {
|
|
|
521
503
|
case passport(Swift.String)
|
|
522
504
|
case inactiveWithMessage(Swift.String)
|
|
523
505
|
public static func == (a: BlinkIDUX.ReticleState, b: BlinkIDUX.ReticleState) -> Swift.Bool
|
|
506
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
507
|
+
public var hashValue: Swift.Int {
|
|
508
|
+
get
|
|
509
|
+
}
|
|
524
510
|
}
|
|
525
511
|
public enum UIEvent : Swift.Equatable, Swift.Sendable {
|
|
526
512
|
case requestDocumentSide(side: BlinkIDUX.DocumentSide)
|
|
@@ -560,4 +546,5 @@ extension BlinkIDUX.ScanningViewModel : Swift.Sendable {}
|
|
|
560
546
|
extension BlinkIDUX.MicroblinkColor : Swift.Equatable {}
|
|
561
547
|
extension BlinkIDUX.MicroblinkColor : Swift.Hashable {}
|
|
562
548
|
extension BlinkIDUX.MicroblinkColor : Swift.RawRepresentable {}
|
|
549
|
+
extension BlinkIDUX.ReticleState : Swift.Hashable {}
|
|
563
550
|
extension BlinkIDUX.ReticleState : Swift.Equatable {}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { TurboModuleRegistry } from
|
|
3
|
+
import { TurboModuleRegistry } from "react-native";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The implementation of `blinkid-react-native` that uses method channels.
|
|
7
|
-
*
|
|
7
|
+
*
|
|
8
8
|
* Here, the {@link TurboModule} exposes the appropriate native BlinkID module as a React-Native module,
|
|
9
9
|
* based on the detected platform: Android or iOS.
|
|
10
|
-
*
|
|
10
|
+
*
|
|
11
11
|
* The Turbo Module contains the functions `performScan` and `performDirectApiScan` which enable the BlinkID scanning process, with the default UX properties, and with static images.
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
export default TurboModuleRegistry.getEnforcing(
|
|
14
|
+
export default TurboModuleRegistry.getEnforcing("BlinkidReactNative");
|
|
15
15
|
//# sourceMappingURL=NativeBlinkidReactNative.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeBlinkidReactNative.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeBlinkidReactNative.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA4CA,eAAeA,mBAAmB,CAACC,YAAY,CAAO,oBAAoB,CAAC","ignoreList":[]}
|