StillFocusManager

Constructors

Link copied to clipboard
constructor()

Functions

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