PxUiOcrEditorScreenConfiguration Class
@objc(PxUiOcrEditorScreenConfiguration) final class PxUiOcrEditorScreenConfiguration
Per-presentation configuration for PxUiOcrEditorScreen.
Initializers
| Name | Summary |
|---|---|
| init(onRescanRequested:onChangeLanguageRequested:) | Creates a configuration with optional host-orchestration callbacks. |
Instance Properties
| Name | Summary |
|---|---|
| onChangeLanguageRequested | Fired when the user taps the change-language toolbar action. The host presents the language picker (PxUiLanguagePickerScreen) and, on return, refreshes the displayed summary via update(languageSummary:) and re-scans if the selection changed. |
| onRescanRequested | Fired when the user taps the re-scan toolbar button. The host re-runs OCR and feeds progress + the fresh result back via update(scanProgress:) / update(result:image:) (UIKit) or the session object (SwiftUI). The screen shows its own determinate indicator meanwhile. |
Relationships
Inherits From
- ObjectiveC.NSObject
Conforms To
- ObjectiveC.NSObjectProtocol
- Swift.CVarArg
- Swift.CustomDebugStringConvertible
- Swift.CustomStringConvertible
- Swift.Equatable
- Swift.Hashable