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

? Examples
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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.