Lingua

FlashMode Enum

Definition

Enumerates values returned by the Off, Single, and Torch members.

public enum FlashMode
type FlashMode = 
Inheritance
FlashMode

Fields

Name Value Description
Off 0

Do not fire the flash for this capture.

Android reference for android.hardware.camera2.CameraMetadata.FLASH_MODE_OFF.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Single 1

If the flash is available and charged, fire flash for this capture.

Android reference for android.hardware.camera2.CameraMetadata.FLASH_MODE_SINGLE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Torch 2

Transition flash to continuously on.

Android reference for android.hardware.camera2.CameraMetadata.FLASH_MODE_TORCH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to