createMeteringPoint

fun createMeteringPoint(viewPoint: Offset, size: Float? = null): MeteringPoint

Creates a MeteringPoint from a point of the view (e.g. a tap), taking orientation, scaling and cropping into account, to focus with me.nathanfallet.visioncamera.CameraController.focusTo.

Throws

If the preview is not ready yet.