PxUiLanguagePickerScreenResult Enumeration
enum PxUiLanguagePickerScreenResult
SwiftUI-idiomatic result for PxUiLanguagePickerScreenView. Swift-only by design — surfaces only on the adapter’s completion-closure parameter. Does NOT carry @objc; Obj-C adopters route through PxUiLanguagePickerScreenDelegate on PxUiLanguagePickerScreen directly.
Overview
Two cases — there is no failure result: download failures are shown inline in the list, not surfaced as a screen-level outcome.
Enumeration Cases
| Name | Summary |
|---|---|
| PxUiLanguagePickerScreenResult.cancelled | The user cancelled. Reconcile the selection anyway — the picker persists per toggle. |
| PxUiLanguagePickerScreenResult.finished(selection:) | The user finished. selection carries the ordered installed + selected sets plus an advisory didChange. The caller decides whether to re-run OCR by comparing selection.selected against its own last-scanned ordered signature — NOT off didChange. Reconcile on .cancelled too (the picker persists per toggle and downloads are irreversible). |