Configuration

Objective-C

@interface Configuration : NSObject<NSCopying>

@property (nonatomic, readonly) double  qrCodeBlurThreshold;
@property (nonatomic, readonly) double  secureGraphicBlurThreshold;
@property (nonatomic, readonly) double  glareThreshold;
@property (nonatomic, readonly) float   zoomFactor;
@property (nonatomic, readonly) float   initialZoomFactor;
@property (nonatomic, readonly) float   upscaleZoomFactorLimit;
@property (nonatomic, readonly) double  minimumCaptureResolution;
@property (nonatomic, readonly) double  maximumCaptureResolution;
@property (nonatomic, readonly) bool    limitedMode;
@property (nonatomic, readonly) AVCaptureDeviceType captureDeviceType;
@property (nonatomic, readonly) double   torchPowerRatio;

@property (nonatomic, readonly) CGSize frameSize;

@property (strong, nonatomic, readonly) AVCaptureDeviceFormat *preferredFormat;
@property (readonly) NSUInteger preferredFormatIndex;

@property (readonly, getter=isDefault) BOOL isDefault;

- (void) setFormatFromType:(AVCaptureDeviceType) type andIndex:(NSUInteger)index;
- (NSDictionary *) toDictionary;
- (void) updateWithDictionary:(NSDictionary *) dict;

@end

Swift

class Configuration : NSObject, NSCopying

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) double qrCodeBlurThreshold

    Swift

    var qrCodeBlurThreshold: Double { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) double secureGraphicBlurThreshold

    Swift

    var secureGraphicBlurThreshold: Double { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) double glareThreshold

    Swift

    var glareThreshold: Double { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float zoomFactor

    Swift

    var zoomFactor: Float { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float initialZoomFactor

    Swift

    var initialZoomFactor: Float { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float upscaleZoomFactorLimit

    Swift

    var upscaleZoomFactorLimit: Float { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) double minimumCaptureResolution

    Swift

    var minimumCaptureResolution: Double { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) double maximumCaptureResolution

    Swift

    var maximumCaptureResolution: Double { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) bool limitedMode

    Swift

    var limitedMode: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) AVCaptureDeviceType captureDeviceType

    Swift

    var captureDeviceType: AVCaptureDevice.DeviceType! { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) double torchPowerRatio

    Swift

    var torchPowerRatio: Double { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize frameSize

    Swift

    var frameSize: CGSize { get }
  • Undocumented

    Declaration

    Objective-C

    @property (strong, nonatomic, readonly) AVCaptureDeviceFormat *preferredFormat

    Swift

    var preferredFormat: AVCaptureDevice.Format! { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly) NSUInteger preferredFormatIndex

    Swift

    var preferredFormatIndex: UInt { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, getter=isDefault) BOOL isDefault

    Swift

    var isDefault: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    - (void) setFormatFromType:(AVCaptureDeviceType) type andIndex:(NSUInteger)index;

    Swift

    func setFormatFromType(_ type: AVCaptureDevice.DeviceType!, andIndex index: UInt)
  • Undocumented

    Declaration

    Objective-C

    - (NSDictionary *) toDictionary;

    Swift

    func toDictionary() -> [AnyHashable : Any]!
  • Undocumented

    Declaration

    Objective-C

    - (void) updateWithDictionary:(NSDictionary *) dict;

    Swift

    func update(with dict: [AnyHashable : Any]!)