auto macro mode toggle for Pixel 8 Pro
Not clear if this is feasible to implement and it may require a quite hardware specific API call.
Camera2Interop will do the trick afaict.
Camera2Interop.Extender(previewBuilder).setCaptureRequestOption(
CaptureRequest.CONTROL_AF_MODE,
CaptureRequest.CONTROL_AF_MODE_MACRO
)
yea, annoying on p8 too and when using the webcam mode too.
Gcam have an option to show an barred macro icon overlay when triggered instead of changing lens and you can press it to change lens
Hi everyone,
We could try directly implementing this using the Camera2Interop API as @empratyush has suggested, but I have raised a feature request for the same on the CameraX library to have better support for device-specific quirks. (Link to the filed issue to stay updated: https://issuetracker.google.com/issues/358257249)
Does this mean we already have macro mode, and can enable it in camera settings somehow, because I can't find a toggle smh.
It's available and used automatically. There's no toggle to turn it off.