onAutofocusStarted

abstract fun onAutofocusStarted(@Nullable focusAreas: Array<Rect>)

This method will be called when camera focusing has started. You can utilize this method to draw focusing animation on UI.

Parameters

focusAreas

Areas where focus is being measured. Null on devices that do not support fine-grained camera control