onTap
Sets the focus on tap.
Parameters
context
the application context
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(context: Context, 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
context
the application context
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