GSKScanFlowFlashMode

Objective-C

enum GSKScanFlowFlashMode : NSUInteger {}

Swift

enum GSKScanFlowFlashMode : UInt, @unchecked Sendable

The capture screen flash mode

  • Let the system determine whether to turn on the flash based on the lighting conditions.

    Declaration

    Objective-C

    GSKScanFlowFlashModeAuto

    Swift

    case auto = 0
  • Force the flash on.

    Declaration

    Objective-C

    GSKScanFlowFlashModeOn

    Swift

    case on = 1
  • Force the flash off.

    Declaration

    Objective-C

    GSKScanFlowFlashModeOff

    Swift

    case off = 2