filterCameras

This method must return an ordered list of the cameras that can be used, the first camera in the list will take priority while selecting the final camera.

NOTE: if an empty list is returned or the filter resolves to a camera or cameras that can't be used, the camera initialization will fail.

Return

The filtered list of Camera2CameraInfo.

Parameters

cameraInfoList

A list that can be used to query information about the available cameras.