BackCameraSelectorFilter

Selects the best rear facing camera.

Parameters

cameraSettings

The camera settings to use as configuration when selecting the camera.

Constructors

Link copied to clipboard
constructor(cameraSettings: MiSnapSettings.Camera)

Functions

Link copied to clipboard
open override fun filterCameras(cameraInfoList: MutableList<Camera2CameraInfo>): List<Camera2CameraInfo>

Creates a prioritized list of supported cameras.

Link copied to clipboard
open override fun getCameraInfo(cameraInfo: Camera2CameraInfo): MiSnapCameraInfo?

Builds a MiSnapCameraInfo with specific criteria for back cameras.