Overview
The availableCameras() method was implemented before lens facing info was exposed in the CameraX CameraInfo class. There is an upcoming change to add a method that returns this lens facing info. When this change is available we should make use of it, as it is a better solution to determining the lens facing info than what we currently have.
Overview
The availableCameras() method was implemented before lens facing info was exposed in the CameraX
CameraInfoclass. There is an upcoming change to add a method that returns this lens facing info. When this change is available we should make use of it, as it is a better solution to determining the lens facing info than what we currently have.