public static interface Camera.OnZoomChangeListener
| android.hardware.Camera.OnZoomChangeListener |
该接口在API级别21中已被弃用。
我们建议将新的android.hardware.camera2 API用于新应用程序。
平滑缩放操作过程中缩放的回调界面会发生变化。
公共方法(Public methods) |
|
|---|---|
abstract void |
onZoomChange(int zoomValue, boolean stopped, Camera camera) 在平滑缩放期间缩放值发生变化时调用。 |
void onZoomChange (int zoomValue,
boolean stopped,
Camera camera)
在平滑缩放期间缩放值发生变化时调用。
| 参数(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 |