Android APIs
Added in API level 4
public static interface

ZoomButtonsController.OnZoomListener

android.widget.ZoomButtonsController.OnZoomListener

Class Overview

Interface that will be called when the user performs an interaction that triggers some action, for example zooming.

Summary

Public Methods
abstract void onVisibilityChanged(boolean visible)
Called when the zoom controls' visibility changes.
abstract void onZoom(boolean zoomIn)
Called when the owner view needs to be zoomed.

Public Methods

public abstract void onVisibilityChanged (boolean visible)

Added in API level 4

Called when the zoom controls' visibility changes.

Parameters
visible Whether the zoom controls are visible.

public abstract void onZoom (boolean zoomIn)

Added in API level 4

Called when the owner view needs to be zoomed.

Parameters
zoomIn The direction of the zoom: true to zoom in, false to zoom out.