getDuration

open fun getDuration(): Long

Returns the duration of the animation in ms.