requestAutoFocus

open override fun requestAutoFocus(meteringPoint: MeteringPoint)

Requests the camera to perform an autofocus in the region of interest. The autofocus won't work if the camera does not support autofocus modes.

Events emitted:

NOTE: only one focus request is allowed at a time, if there are multiple request in a row only the last one is executed.

Parameters

meteringPoint

The target region of interest to focus on.