Since: API Level 8
public static interface

Camera.OnZoomChangeListener

android.hardware.Camera.OnZoomChangeListener

Class Overview

Interface for a callback to be invoked when zoom value changes.

Summary

Public Methods
abstract void onZoomChange(int zoomValue, boolean stopped, Camera camera)
Called when the zoom value has changed.

Public Methods

public abstract void onZoomChange (int zoomValue, boolean stopped, Camera camera)

Since: API Level 8

Called when the zoom value has changed.

Parameters
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