Functions

Link copied to clipboard
abstract fun cancelOngoingFocus()
Cancel current ongoing focus operation and set focus to default position.
Link copied to clipboard
abstract fun checkFocus()
Checks if autofocus should be refreshed.
Link copied to clipboard
abstract fun dispose()
Called when all internal resources of the focus manager should be disposed.
Link copied to clipboard
abstract fun doAutofocus(force: Boolean)
Method requests from manager to initiate camera focusing process.
Link copied to clipboard
abstract fun invalidateFocus()
Method invalidates current focus so that next doAutofocus(false) call will request a new focus.
Link copied to clipboard
abstract fun isAutofocusing(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun isCameraFocused(): Boolean
Link copied to clipboard
abstract fun isContinuous(): Boolean
Returns true if autofocus manager is continous autofocus manager (i.e.
Link copied to clipboard
abstract fun pauseFocusing()
Method pauses the work of the manager.
Link copied to clipboard
abstract fun resumeFocusing()
Method resumes the work of the manager.
Link copied to clipboard
abstract fun setCamera(@Nullable camera: Camera)
Method sets the camera which focus will be managed by this manager.
Link copied to clipboard
abstract fun setMeteringAreas(@Nullable areas: Array<Rect>)
Set areas used to measure focus and exposure.