FocusMetering

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@RequiresPermission(value = "android.permission.CAMERA")
suspend fun cancelFocusAndMetering()

Cancel the focus and metering.

Link copied to clipboard
@RequiresPermission(value = "android.permission.CAMERA")
suspend fun onTap(context: Context, point: PointF, fovRect: Rect, fovRotationDegree: Int, timeoutDurationMs: Long = DEFAULT_AUTO_CANCEL_DURATION_MS)
@RequiresPermission(value = "android.permission.CAMERA")
suspend fun onTap(context: Context, afPoints: List<PointF>, aePoints: List<PointF>, awbPoints: List<PointF>, fovRect: Rect, fovRotationDegree: Int, timeoutDurationMs: Long = DEFAULT_AUTO_CANCEL_DURATION_MS)

Sets the focus on tap.