Language

CameraCharacteristics.FlashInfoStrengthMaximumLevel Property

Definition

Maximum flashlight brightness level.

[Android.Runtime.Register("FLASH_INFO_STRENGTH_MAXIMUM_LEVEL", ApiSince=33)]
public static Android.Hardware.Camera2.CameraCharacteristics.Key FlashInfoStrengthMaximumLevel { get; }
[<Android.Runtime.Register("FLASH_INFO_STRENGTH_MAXIMUM_LEVEL", ApiSince=33)>]
static member FlashInfoStrengthMaximumLevel : Android.Hardware.Camera2.CameraCharacteristics.Key

Property Value

Maximum flashlight brightness level.

Attributes

Remarks

Maximum flashlight brightness level.

If this value is greater than 1, then the device supports controlling the flashlight brightness level via CameraManager.turnOnTorchWithStrengthLevel(String, int). If this value is equal to 1, flashlight brightness control is not supported. The value for this key will be null for devices with no flash unit.

The maximum value is guaranteed to be safe to use for an indefinite duration in terms of device flashlight lifespan, but may be too bright for comfort for many use cases. Use the default torch brightness value to avoid problems with an over-bright flashlight.

Optional - The value for this key may be null on some devices.

Android reference for android.hardware.camera2.CameraCharacteristics.FLASH_INFO_STRENGTH_MAXIMUM_LEVEL.

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