Package com.microblink.view
Class BaseCameraView.BaseCameraViewEventsListener
- java.lang.Object
-
- com.microblink.view.BaseCameraView.BaseCameraViewEventsListener
-
- All Implemented Interfaces:
com.microblink.view.surface.ICameraView.CameraViewEventListener
- Enclosing class:
- BaseCameraView
protected class BaseCameraView.BaseCameraViewEventsListener extends java.lang.Object implements com.microblink.view.surface.ICameraView.CameraViewEventListener
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseCameraViewEventsListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCameraPinchEvent(float scale)
Called when used pinch zooms a camera surface.void
onCameraTapEvent(float x, float y)
Called when user taps a camera surface.
-
-
-
Method Detail
-
onCameraTapEvent
public void onCameraTapEvent(float x, float y)
Description copied from interface:com.microblink.view.surface.ICameraView.CameraViewEventListener
Called when user taps a camera surface. Reported coordinates are relative within camera preview frame.- Specified by:
onCameraTapEvent
in interfacecom.microblink.view.surface.ICameraView.CameraViewEventListener
- Parameters:
x
- x coordinate of the tap eventy
- y coordinate of the tap event
-
onCameraPinchEvent
public void onCameraPinchEvent(float scale)
Description copied from interface:com.microblink.view.surface.ICameraView.CameraViewEventListener
Called when used pinch zooms a camera surface.- Specified by:
onCameraPinchEvent
in interfacecom.microblink.view.surface.ICameraView.CameraViewEventListener
- Parameters:
scale
- Pinch scale factor
-
-