ALFlashButtonConfig Class Reference

Inherits from NSObject
Declared in ALFlashButtonConfig.h

  flashMode

@property (nonatomic, assign) ALFlashMode flashMode

  flashAlignment

@property (nonatomic, assign) ALFlashAlignment flashAlignment

  flashImage

@property (nullable, nonatomic, strong) UIImage *flashImage

  flashOffset

@property (nonatomic, assign) CGPoint flashOffset

+ configurationFromJsonFilePath:

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

– initWithJsonFilePath:

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

– initWithDictionary:

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

– initWithFlashMode:flashAlignment:flashOffset:

- (instancetype _Nullable)initWithFlashMode:(ALFlashMode)flashMode flashAlignment:(ALFlashAlignment)flashAlignment flashOffset:(CGPoint)flashOffset

+ defaultFlashConfig

+ (instancetype _Nonnull)defaultFlashConfig