OnZoomChangeListener
interfaceOnZoomChangeListener
android.hardware.Camera.OnZoomChangeListener |
Callback interface for zoom changes during a smooth zoom operation.
Summary
Public methods | |
---|---|
abstract Unit |
onZoomChange(zoomValue: Int, stopped: Boolean, camera: Camera!) Called when the zoom value has changed during a smooth zoom. |
Public methods
onZoomChange
Added in API level 8
abstract funonZoomChange(
zoomValue: Int,
stopped: Boolean,
camera: Camera!
): Unit
Deprecated: Deprecated in Java.
Called when the zoom value has changed during a smooth zoom.
Parameters | |
---|---|
zoomValue |
Int: the current zoom value. In smooth zoom mode, camera calls this for every new zoom value. |
stopped |
Boolean: whether smooth zoom is stopped. If the value is true, this is the last zoom update for the application. |
camera |
Camera!: the Camera service object |