Package com.microblink.blinkid.view
Class BaseCameraView.BaseCameraViewEventsListener
java.lang.Object
com.microblink.blinkid.view.BaseCameraView.BaseCameraViewEventsListener
- All Implemented Interfaces:
com.microblink.blinkid.view.surface.ICameraView.CameraViewEventListener
- Enclosing class:
- BaseCameraView
protected class BaseCameraView.BaseCameraViewEventsListener
extends Object
implements com.microblink.blinkid.view.surface.ICameraView.CameraViewEventListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCameraPinchEvent
(float scale) Called when used pinch zooms a camera surface.void
onCameraTapEvent
(float x, float y) Called when user taps a camera surface.
-
Constructor Details
-
BaseCameraViewEventsListener
protected BaseCameraViewEventsListener()
-
-
Method Details
-
onCameraTapEvent
public void onCameraTapEvent(float x, float y) Description copied from interface:com.microblink.blinkid.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.blinkid.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.blinkid.view.surface.ICameraView.CameraViewEventListener
Called when used pinch zooms a camera surface.- Specified by:
onCameraPinchEvent
in interfacecom.microblink.blinkid.view.surface.ICameraView.CameraViewEventListener
- Parameters:
scale
- Pinch scale factor
-