PxUiOcrEditorScreenResult Enumeration

enum PxUiOcrEditorScreenResult

SwiftUI-idiomatic result for PxUiOcrEditorScreenView. Swift-only by design — Obj-C adopters route through PxUiOcrEditorScreenDelegate on the screen directly.

Enumeration Cases

NameSummary
PxUiOcrEditorScreenResult.cancelledThe user cancelled (reserved; the default back path reports .finished).
PxUiOcrEditorScreenResult.finished(editedText:attributedText:)The user dismissed the editor. editedText is the final plain text; attributedText carries the same text WITH its attributes (confidence colours on unedited spans, neutral on typed runs) — hold it and pass it back as the session’s seedText to preserve colours across a re-open.
Top