Skip to content

FlashMode

Inherits: Enum

Flash modes supported by the camera.

Properties

  • ALWAYS

    Always fire flash.

  • AUTO

    Use flash automatically when required.

  • OFF

    Disable flash.

  • TORCH

    Continuous torch/flashlight mode.

Properties#

ALWAYS class-attribute instance-attribute #

ALWAYS = 'always'

Always fire flash.

AUTO class-attribute instance-attribute #

AUTO = 'auto'

Use flash automatically when required.

OFF class-attribute instance-attribute #

OFF = 'off'

Disable flash.

TORCH class-attribute instance-attribute #

TORCH = 'torch'

Continuous torch/flashlight mode.