Package com.microblink.view
Class BaseCameraView.BaseCameraListener
- java.lang.Object
-
- com.microblink.view.BaseCameraView.BaseCameraListener
-
- All Implemented Interfaces:
AutofocusListener
,com.microblink.hardware.camera.CameraListener
- Enclosing class:
- BaseCameraView
protected abstract class BaseCameraView.BaseCameraListener extends java.lang.Object implements com.microblink.hardware.camera.CameraListener
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseCameraListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAutofocusFailed()
This method will be called when camera focusing has failed.void
onAutofocusStarted(android.graphics.Rect[] areas)
This method will be called when camera focusing has started.void
onAutofocusStopped(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:AutofocusListener
This 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:
onAutofocusFailed
in interfaceAutofocusListener
-
onAutofocusStarted
public final void onAutofocusStarted(android.graphics.Rect[] areas)
Description copied from interface:AutofocusListener
This method will be called when camera focusing has started. You can utilize this method to draw focusing animation on UI.- Specified by:
onAutofocusStarted
in 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:AutofocusListener
This method will be called when camera focusing has stopped. You can utilize this method to remove focusing animation from UI.- Specified by:
onAutofocusStopped
in interfaceAutofocusListener
- Parameters:
areas
- Areas where focus is being measured. Null on devices that do not support fine-grained camera control
-
-