ALFlashMode Constants Reference

Declared in ALFlashConfig.h

ALFlashMode

The flash mode (whether it starts on, off, in auto mode, or hidden)

Definition

typedef NS_ENUM(NSUInteger, ALFlashMode ) {
   ALFlashModeManual = 0,
   ALFlashModeNone = 1,
   ALFlashModeAuto = 2,
   ALFlashModeManualOff = 3,
   ALFlashModeManualOn = 4,
};

Constants

ALFlashModeManual

deprecated – use ALFlashModeManualOff instead, which will give you the same behaviour

Declared In ALFlashConfig.h.

ALFlashModeNone

flash toggle is hidden, no flash

Declared In ALFlashConfig.h.

ALFlashModeAuto

uses ambient light to detect whether the flash will turn on or off

Declared In ALFlashConfig.h.

ALFlashModeManualOff

starts with the flash toggle off. Can be turned on manually

Declared In ALFlashConfig.h.

ALFlashModeManualOn

starts with the flash toggle on. Can be turned off manually

Declared In ALFlashConfig.h.

Declared In

ALFlashConfig.h