PxUiCameraScreenError Enumeration

@objc(PxUiCameraScreenError) enum PxUiCameraScreenError

Error codes carried by NSError.code in PxUiCameraScreenDelegate’s failure callback. The associated NSError.domain is PxUiCameraScreenErrorDomain (string constant declared in this file).

Enumeration Cases

NameSummary
PxUiCameraScreenError.cameraSetupFailedsetupCameraView returned false (no camera permission, hardware failure, etc.). The framework default-localised explanation lives in the framework’s PxUiStrings.strings under the camera-init-failed key.
PxUiCameraScreenError.captureFailedcaptureImageWithCompletionBlock: returned a nil image. The underlying AVCaptureSession failed mid-capture.

Initializers

NameSummary
init(rawValue:) 

Relationships

Conforms To

  • Swift.Equatable
  • Swift.Error
  • Swift.Hashable
  • Swift.RawRepresentable
  • Swift.Sendable
  • Swift.SendableMetatype
Top