CameraCharacteristics.FlashInfoStrengthDefaultLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Default flashlight brightness level to be set via CameraManager.turnOnTorchWithStrengthLevel(String, int).
[Android.Runtime.Register("FLASH_INFO_STRENGTH_DEFAULT_LEVEL", ApiSince=33)]
public static Android.Hardware.Camera2.CameraCharacteristics.Key FlashInfoStrengthDefaultLevel { get; }
[<Android.Runtime.Register("FLASH_INFO_STRENGTH_DEFAULT_LEVEL", ApiSince=33)>]
static member FlashInfoStrengthDefaultLevel : Android.Hardware.Camera2.CameraCharacteristics.Key
Property Value
Default flashlight brightness level to be set via CameraManager.turnOnTorchWithStrengthLevel(String, int).
- Attributes
Remarks
Default flashlight brightness level to be set via CameraManager.turnOnTorchWithStrengthLevel(String, int).
If flash unit is available this will be greater than or equal to 1 and less or equal to android.flash.info.strengthMaximumLevel.
Setting flashlight brightness above the default level (i.e.android.flash.info.strengthDefaultLevel) may make the device more likely to reach thermal throttling conditions and slow down, or drain the battery quicker than normal. To minimize such issues, it is recommended to start the flashlight at this default brightness until a user explicitly requests a brighter level. Note that the value for this key will be null for devices with no flash unit. The default level should always be > 0.
Optional - The value for this key may be null on some devices.
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.