How to get ISO and Exposure time of captured photo with Android CameraX?

462 views Asked by At

I use Android CameraX in my application for taking photos. When I capture a photo, I can either use the ImageCapture.OnImageCapturedCallback or the ImageCapture.OnImageSavedCallback according to the documentation.

My problem is, that none of them contains information about ISO or Exposure time of the captured photo. How can I get this info?

1

There are 1 answers

0
cowboi-peng On BEST ANSWER

You could use ExifInterface API to get the photo's detail info.