Added in API level 33

DurationScaleChangeListener

interface DurationScaleChangeListener
android.animation.ValueAnimator.DurationScaleChangeListener

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

Summary

Public methods
abstract Unit
onChanged(scale: Float)

Called when the duration scale changes.

Public methods

onChanged

Added in API level 33
abstract fun onChanged(scale: Float): Unit

Called when the duration scale changes.

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