Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 8
public static interface

Camera.OnZoomChangeListener

android.hardware.Camera.OnZoomChangeListener

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