sdk-maps / com.tomtom.online.sdk.map / AnimationDuration / <init>

<init>

AnimationDuration(duration: Long, @NonNull timeUnit: TimeUnit)

Build AnimationDuration for the given duration and TimeUnit.

Parameters

duration - Long: Duration of the animation.

timeUnit - TimeUnit: Determines the time unit for the animation duration.