PxUiCameraScreenConfiguration Class

@objc(PxUiCameraScreenConfiguration) final class PxUiCameraScreenConfiguration

Per-presentation configuration for PxUiCameraScreen. Adopter constructs a fresh instance per presentation (typically by reading its own persistence — UserDefaults, Core Data, in-memory, whatever). The SDK reads the configuration once at init time and does not observe live changes mid-camera. By design, the SDK does not write app defaults — settings persistence is entirely the adopter’s concern.

Initializers

NameSummary
init()Creates a configuration with all options off.
init(borderDetectorOn:autoshotOn:autoshotDelay:torchOn:)Creates a configuration with the given options.

Instance Properties

NameSummary
autoshotDelayThe delay, in seconds, before an automatic capture fires.
autoshotOnWhether the camera captures automatically once the document is steady.
borderDetectorOnWhether live document-border detection is enabled.
torchOnWhether the torch (flash) starts on.

Relationships

Inherits From

  • ObjectiveC.NSObject

Conforms To

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