onTap

fun onTap(point: PointF, fovRect: Rect, fovRotationDegree: Int)

Sets the focus on tap.

Parameters

point

the point to focus on in fovRect coordinate system

fovRect

the field of view rectangle

fovRotationDegree

the orientation of the field of view


fun onTap(afPoints: List<PointF> = emptyList(), aePoints: List<PointF> = emptyList(), awbPoints: List<PointF> = emptyList(), fovRect: Rect, fovRotationDegree: Int)

Sets the focus on tap.

At least one of lost of points must not be empty.

Parameters

afPoints

the points where the focus is done in fovRect coordinate system

aePoints

the points where the exposure is done in fovRect coordinate system

awbPoints

the points where the white balance is done in fovRect coordinate system

fovRect

the field of view rectangle

fovRotationDegree

the orientation of the field of view