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 qrCodeBlurThresholdSwift
var qrCodeBlurThreshold: Double { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) double secureGraphicBlurThresholdSwift
var secureGraphicBlurThreshold: Double { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) double glareThresholdSwift
var glareThreshold: Double { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) float zoomFactorSwift
var zoomFactor: Float { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) float initialZoomFactorSwift
var initialZoomFactor: Float { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) float upscaleZoomFactorLimitSwift
var upscaleZoomFactorLimit: Float { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) double minimumCaptureResolutionSwift
var minimumCaptureResolution: Double { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) double maximumCaptureResolutionSwift
var maximumCaptureResolution: Double { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) bool limitedModeSwift
var limitedMode: Bool { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) AVCaptureDeviceType captureDeviceTypeSwift
var captureDeviceType: AVCaptureDevice.DeviceType! { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) double torchPowerRatioSwift
var torchPowerRatio: Double { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) CGSize frameSizeSwift
var frameSize: CGSize { get } -
Undocumented
Declaration
Objective-C
@property (strong, nonatomic, readonly) AVCaptureDeviceFormat *preferredFormatSwift
var preferredFormat: AVCaptureDevice.Format! { get } -
Undocumented
Declaration
Objective-C
@property (readonly) NSUInteger preferredFormatIndexSwift
var preferredFormatIndex: UInt { get } -
Undocumented
Declaration
Objective-C
@property (readonly, getter=isDefault) BOOL isDefaultSwift
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]!)
Configuration Class Reference