init(borderDetectorOn:autoshotOn:autoshotDelay:torchOn:) Initializer

@objc init(borderDetectorOn: Bool, autoshotOn: Bool, autoshotDelay: Float, torchOn: Bool)

Creates a configuration with the given options.

Parameters

  • borderDetectorOn — Whether live border detection is enabled.
  • autoshotOn — Whether automatic capture is enabled.
  • autoshotDelay — The delay, in seconds, before an automatic capture.
  • torchOn — Whether the torch starts on.
Top