PxUiCameraScreenView.Coordinator Class

final class Coordinator

SwiftUI coordinator that bridges the hosted view controller delegate.

Instance Methods

NameSummary
cameraScreen(_:didCapture:cutout:)Capture succeeded. The screen has dismissed itself by the time this fires (UIViewController.dismiss(animated:) was called).
cameraScreen(_:didFailWith:)Camera initialisation or capture failed. error.code is a PxUiCameraScreenError raw value; error.domain is PxUiCameraScreenErrorDomain. The screen has dismissed itself. The framework does NOT present any error UI — the adopter decides how to surface the failure.
cameraScreenDidCancel(_:)User tapped the close button. The screen has dismissed itself.

Relationships

Inherits From

  • ObjectiveC.NSObject

Conforms To

  • ObjectiveC.NSObjectProtocol
  • PxUiCameraScreenDelegate
  • Swift.CVarArg
  • Swift.CustomDebugStringConvertible
  • Swift.CustomStringConvertible
  • Swift.Equatable
  • Swift.Hashable
Top