maxAvailableTorchLevel property

double maxAvailableTorchLevel
final

This constant always represents the maximum available torch level, independent of the actual maximum value currently supported by the device.

Thus, pass this constant to the setTorchModeOnWithLevel in situations where you want to specify the maximum torch level without having to worry about whether the device is overheating and might not accept a value of 1.0 as the maximum.

Implementation

final double maxAvailableTorchLevel;