to top
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