# Print output for @column tags ?> AccessibilityService.MagnificationController.OnMagnificationChangedListener - Android SDK | Android Developers

Most visited

Recently visited

AccessibilityService.MagnificationController.OnMagnificationChangedListener

public static interface AccessibilityService.MagnificationController.OnMagnificationChangedListener

android.accessibilityservice.AccessibilityService.MagnificationController.OnMagnificationChangedListener


Listener for changes in the state of magnification.

Summary

Public methods

abstract void onMagnificationChanged(AccessibilityService.MagnificationController controller, Region region, float scale, float centerX, float centerY)

Called when the magnified region, scale, or center changes.

Public methods

onMagnificationChanged

public abstract void onMagnificationChanged (AccessibilityService.MagnificationController controller, 
                Region region, 
                float scale, 
                float centerX, 
                float centerY)

Called when the magnified region, scale, or center changes.

Parameters
controller AccessibilityService.MagnificationController: the magnification controller This value cannot be null.

region Region: the magnification region This value cannot be null.

scale float: the new scale

centerX float: the new X coordinate, in unscaled coordinates, around which magnification is focused

centerY float: the new Y coordinate, in unscaled coordinates, around which magnification is focused