I'm creating camera app and I want to log infos about camera state. Now I'm using:
Log.i("AF state", String.valueOf(result.get(CaptureResult.CONTROL_AF_STATE)));
It returns values like:
I/AF state: 1
It is hard to read and I'm curious if there is a way to log field names that these numbers represent, for example:
I/AF state: CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED