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(afPoints: List<PointF>, aePoints: List<PointF>, awbPoints: List<PointF>, factory: MeteringPointFactory, viewRotationDegree: Int, timeoutDurationMs: Long = DEFAULT_AUTO_CANCEL_DURATION_MS)

Sets the focus on tap.

Link copied to clipboard
@RequiresPermission(value = "android.permission.CAMERA")
suspend fun tapToFocus(point: PointF, factory: MeteringPointFactory, viewRotationDegree: Int, timeoutDurationMs: Long)

Sets the focus on tap.