android.hardware.camera2
API for new
applications.@Deprecated public static interface Camera.OnZoomChangeListener
Modifier and Type | Method and Description |
---|---|
void |
onZoomChange(int zoomValue,
boolean stopped,
Camera camera)
Deprecated.
Called when the zoom value has changed during a smooth zoom.
|
void onZoomChange(int zoomValue, boolean stopped, Camera camera)
zoomValue
- the current zoom value. In smooth zoom mode, camera
calls this for every new zoom value.stopped
- whether smooth zoom is stopped. If the value is true,
this is the last zoom update for the application.camera
- the Camera service object