init(configuration:session:completion:) Initializer

@MainActor init(configuration: PxUiOcrEditorScreenConfiguration, session: PxUiOcrEditorSession, completion: @escaping (PxUiOcrEditorScreenResult) -> Void)

References: PxUiOcrEditorScreenConfiguration, PxUiOcrEditorSession, PxUiOcrEditorScreenResult

Creates the SwiftUI OCR-editor view.

Parameters

  • configuration — The editor configuration (re-scan / change-language callbacks).
  • session — The observable session providing live updates.
  • completion — Called with the result when the screen finishes.
Top