Android APIs
Added in API level 8
Deprecated since API level 21
public static interface

Camera.OnZoomChangeListener

android.hardware.Camera.OnZoomChangeListener

This interface was deprecated in API level 21.
We recommend using the new android.hardware.camera2 API for new applications.

Class Overview

Callback interface for zoom changes during a smooth zoom operation.

Summary

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

Public Methods

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

Added in API level 8

Called when the zoom value has changed during a smooth zoom.

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