Android.Hardware.Camera2.CaptureResult.FlashState Property

Syntax

[Android.Runtime.Register("FLASH_STATE")]
public static CaptureResult.Key FlashState { get; }

See Also

CaptureRequest.ControlAeMode
CameraCharacteristics.FlashInfoAvailable
CaptureRequest.FlashMode
CameraCharacteristics.InfoSupportedHardwareLevel

Value

Documentation for this section has not yet been entered.

Remarks

Current state of the flash unit.

When the camera device doesn't have flash unit (i.e. CameraCharacteristics.FlashInfoAvailable == false), this state will always be UNAVAILABLE. Other states indicate the current flash status.

In certain conditions, this will be available on LEGACY devices:

In all other conditions the state will not be available on LEGACY devices (i.e. it will be null).

Possible values:

Optional - This value may be null on some devices.

Limited capability - Present on all camera devices that report being at least CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED devices in the CameraCharacteristics.InfoSupportedHardwareLevel key

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0