kyrie / com.github.alexjlockwood.kyrie / Animation / totalDuration

totalDuration

val totalDuration: Long

Gets the total duration of the animation in milliseconds, accounting for start delay and repeat count. Returns INFINITE if the repeat count is infinite.

Return
Total time an animation takes to finish, starting from the time it is started. INFINITE will be returned if the animation repeats infinite times.