UserInterface
final class UserInterface : Sendable
UI.
-
Create and returns a
Viewthat handles capturing a check.Declaration
Swift
@MainActor public func createCaptureCheckView( cameraToken: String, cameraConfig: ALCameraConfiguration, overlay: (any View)? = nil, onCompletion: @escaping @Sendable (ALCameraResult) -> Void ) -> some ViewParameters
cameraTokenThe token to authenticate the Camera SDK.
cameraConfigCamera configuration.
overlayCustom overlay view.
onCompletionCompletion handler.
Return Value
A
Viewinstance. -
createCheckDepositView(token:cameraToken: cameraConfigs: walletUuid: data: overlay: loading: failure: onCompletion: ) Create and returns a
Viewthat handles depositing a check.Declaration
Swift
@MainActor public func createCheckDepositView( token: String, cameraToken: String, cameraConfigs: [ALCameraConfiguration] = [.checkFront, .checkBack], walletUuid: String, data: DepositCheckRequest, overlay: (any View)? = nil, loading: (any View)? = nil, failure: (any View)? = nil, onCompletion: @escaping @Sendable (Result<Check, ALCameraError>) -> Void ) -> some ViewParameters
tokenThe token to authenticate the SDK.
cameraTokenThe token to authenticate the Camera SDK.
cameraConfigsCamera configurations.
walletUuidThe wallet uuid.
dataThe data needed for the request.
overlayCustom overlay view.
loadingCustom loading view.
failureCustom failure view.
onCompletionCompletion handler.
Return Value
A
Viewinstance.
View on GitHub