setDuration

open fun setDuration(duration: Long)

Set the duration of the animation ms.