Reputation: 29
I have got the range of ISO that the camera suoports, however I do not know how to find the the maximum and minimum of this
Range<Integer> ISO = characteristics.get(CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE);
Upvotes: 1
Views: 54
Reputation: 951
The Range
object has a getMaximum()
method that should achieve what you're looking for. More information on this can be found in the Range documentation.
In order to retrieve the maximum ISO (Integer
) from your Range
object, you'll need to call the Range.getMaximum()
method as per the documentation linked above. So in your case, ISO.getMaximum()
will return the maximum ISO Integer
in your Range
.
I hope that helps!
Upvotes: 1