Package com.microblink.photopay.view
Class BaseCameraView.BaseCameraListener
java.lang.Object
com.microblink.photopay.view.BaseCameraView.BaseCameraListener
- All Implemented Interfaces:
AutofocusListener,com.microblink.photopay.hardware.camera.CameraListener
- Enclosing class:
- BaseCameraView
protected abstract class BaseCameraView.BaseCameraListener
extends Object
implements com.microblink.photopay.hardware.camera.CameraListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidThis method will be called when camera focusing has failed.final voidonAutofocusStarted(android.graphics.Rect[] areas) This method will be called when camera focusing has started.final voidonAutofocusStopped(android.graphics.Rect[] areas) This method will be called when camera focusing has stopped.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microblink.photopay.hardware.camera.CameraListener
canReceiveFrame, onCameraFrame, onHighResFrame
-
Constructor Details
-
BaseCameraListener
protected BaseCameraListener()
-
-
Method Details
-
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
-