Class BaseCameraView.BaseCameraListener
- java.lang.Object
-
- com.microblink.documentverification.view.BaseCameraView.BaseCameraListener
-
- All Implemented Interfaces:
AutofocusListener,com.microblink.documentverification.hardware.camera.CameraListener
- Enclosing class:
- BaseCameraView
protected abstract class BaseCameraView.BaseCameraListener extends java.lang.Object implements com.microblink.documentverification.hardware.camera.CameraListener
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseCameraListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAutofocusFailed()This method will be called when camera focusing has failed.voidonAutofocusStarted(android.graphics.Rect[] areas)This method will be called when camera focusing has started.voidonAutofocusStopped(android.graphics.Rect[] areas)This method will be called when camera focusing has stopped.
-
-
-
Method Detail
-
onAutofocusFailed
public final void onAutofocusFailed()
Description copied from interface:AutofocusListenerThis method will be called when camera focusing has failed. Camera manager usually tries different focusing strategies and this method is called when all those strategies fail to indicate that either object on which camera is being focused is too close or ambient light conditions are poor.- Specified by:
onAutofocusFailedin interfaceAutofocusListener
-
onAutofocusStarted
public final void onAutofocusStarted(android.graphics.Rect[] areas)
Description copied from interface:AutofocusListenerThis method will be called when camera focusing has started. You can utilize this method to draw focusing animation on UI.- Specified by:
onAutofocusStartedin interfaceAutofocusListener- Parameters:
areas- Areas where focus is being measured. Null on devices that do not support fine-grained camera control
-
onAutofocusStopped
public final void onAutofocusStopped(android.graphics.Rect[] areas)
Description copied from interface:AutofocusListenerThis method will be called when camera focusing has stopped. You can utilize this method to remove focusing animation from UI.- Specified by:
onAutofocusStoppedin interfaceAutofocusListener- Parameters:
areas- Areas where focus is being measured. Null on devices that do not support fine-grained camera control
-
-