ZoomButtonsController.OnZoomListener
public
static
interface
ZoomButtonsController.OnZoomListener
android.widget.ZoomButtonsController.OnZoomListener |
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
onVisibilityChanged
Added in API level 4
public abstract void onVisibilityChanged (boolean visible)
Called when the zoom controls' visibility changes.
Parameters | |
---|---|
visible |
boolean : Whether the zoom controls are visible. |
onZoom
Added in API level 4
public abstract void onZoom (boolean zoomIn)
Called when the owner view needs to be zoomed.
Parameters | |
---|---|
zoomIn |
boolean : The direction of the zoom: true to zoom in, false to zoom out. |