ALCameraConfig Class Reference

Inherits from NSObject
Declared in ALCameraConfig.h

  defaultCamera

@property (nullable, nonatomic, strong) NSString *defaultCamera

  captureResolution

@property (nonatomic, assign) ALCaptureViewResolution captureResolution

  pictureResolution

@property (nonatomic, assign) ALPictureResolution pictureResolution

  zoomGesture

@property (nonatomic, assign) BOOL zoomGesture

+ configurationFromJsonFilePath:

+ (_Nullable instancetype)configurationFromJsonFilePath:(NSString *_Nonnull)jsonFile

– initWithJsonFilePath:

- (_Nullable instancetype)initWithJsonFilePath:(NSString *_Nonnull)jsonFile

– initWithDictionary:

- (instancetype _Nullable)initWithDictionary:(NSDictionary *_Nonnull)configDict

– initWithDefaultCamera:captureResolution:pictureResolution:

- (instancetype _Nullable)initWithDefaultCamera:(NSString *_Nonnull)defaultCamera captureResolution:(ALCaptureViewResolution)captureResolution pictureResolution:(ALPictureResolution)pictureResolution

– initWithDefaultCamera:captureResolution:pictureResolution:zoomGesture:zoomRatio:maxZoomRatio:

- (instancetype _Nullable)initWithDefaultCamera:(NSString *_Nonnull)defaultCamera captureResolution:(ALCaptureViewResolution)captureResolution pictureResolution:(ALPictureResolution)pictureResolution zoomGesture:(BOOL)zoomGesture zoomRatio:(CGFloat)zoomRatio maxZoomRatio:(CGFloat)maxZoomRatio

– initWithDefaultCamera:captureResolution:pictureResolution:zoomGesture:focalLength:maxFocalLength:

- (instancetype _Nullable)initWithDefaultCamera:(NSString *_Nonnull)defaultCamera captureResolution:(ALCaptureViewResolution)captureResolution pictureResolution:(ALPictureResolution)pictureResolution zoomGesture:(BOOL)zoomGesture focalLength:(CGFloat)focalLength maxFocalLength:(CGFloat)maxFocalLength

+ defaultCameraConfig

+ (instancetype _Nullable)defaultCameraConfig

+ defaultDocumentCameraConfig

+ (instancetype _Nullable)defaultDocumentCameraConfig

– setFocalLength:

- (void)setFocalLength:(CGFloat)focalLength

– setZoomRatio:

- (void)setZoomRatio:(CGFloat)ratio

– setMaxZoomRatio:

- (void)setMaxZoomRatio:(CGFloat)maxZoomRatio

– setMaxFocalLength:

- (void)setMaxFocalLength:(CGFloat)maxFocalLength

– maxZoomFactor

- (CGFloat)maxZoomFactor

– zoomFactor

- (CGFloat)zoomFactor