PxUiCameraScreenResult Enumeration

enum PxUiCameraScreenResult

SwiftUI-idiomatic result for PxUiCameraScreenView. Swift-only by design — surfaces only on the adapter’s completion-closure parameter. Does NOT carry @objc; Obj-C adopters route through the delegate protocol on PxUiCameraScreen directly.

Enumeration Cases

NameSummary
PxUiCameraScreenResult.cancelledThe user cancelled.
PxUiCameraScreenResult.failure(error:)Camera setup or capture failed, carrying the error.
PxUiCameraScreenResult.success(image:cutout:)Capture succeeded, carrying the captured image and detected PxCutout.
Top