Config.FlashModeStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
Config.FlashMode selects the desired behavior of the camera flash subsystem, defaulting to OFF.
More information on using the device's flash is available on a separate documentation page.
The Enum Values for Config.FlashMode include OFF, which means the flash is off, and TORCH, which means the flash is on, if supported by the device.
public static final enumConfig.FlashMode
Selects the desired behavior of the camera flash subsystem. By default, the flash mode is set
toOFF. See thedocumentation pagefor
more information on using the device's flash.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],["`Config.FlashMode` controls the camera flash behavior, defaulting to `OFF`. The document details available modes, including `OFF` (flash disabled) and `TORCH` (flash constantly on). It also outlines inherited methods from `java.lang.Enum`, `java.lang.Object`, `java.lang.constant.Constable`, and `java.lang.Comparable` classes. These methods enable actions like comparing, cloning, describing, and managing object properties, as well as determining the current state of the flash.\n"]]