OnZoomListener
interfaceOnZoomListener
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 Unit |
onVisibilityChanged(visible: Boolean) Called when the zoom controls' visibility changes. |
abstract Unit |
Called when the owner view needs to be zoomed. |
Public methods
onVisibilityChanged
Added in API level 4
abstract funonVisibilityChanged(visible: Boolean): Unit
Deprecated: Deprecated in Java.
Called when the zoom controls' visibility changes.
Parameters | |
---|---|
visible |
Boolean: Whether the zoom controls are visible. |
onZoom
Added in API level 4
abstract funonZoom(zoomIn: Boolean): Unit
Deprecated: Deprecated in Java.
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. |