Language

FlashState Enum

Definition

Enumerates values returned by several methods of FlashState.

public enum FlashState
type FlashState = 
Inheritance
FlashState

Fields

Name Value Description
Unavailable 0

No flash on camera.

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

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.

Charging 1

Flash is charging and cannot be fired.

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

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.

Ready 2

Flash is ready to fire.

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

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.

Fired 3

Flash fired for this capture.

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

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.

Partial 4

Flash partially illuminated this frame.

This is usually due to the next or previous frame having the flash fire, and the flash spilling into this capture due to hardware limitations.

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

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