Added in API level 33

ValueAnimator.DurationScaleChangeListener

public static interface ValueAnimator.DurationScaleChangeListener

android.animation.ValueAnimator.DurationScaleChangeListener


Listener interface for the system-wide scaling factor for Animator-based animations.

Summary

Public methods

abstract void onChanged(float scale)

Called when the duration scale changes.

Public methods

onChanged

Added in API level 33
public abstract void onChanged (float scale)

Called when the duration scale changes.

Parameters
scale float: the duration scale Value is 0 or greater