maxDuration

fun maxDuration(maxDuration: Long): NavigationCameraTransitionOptions.Builder

Sets maximum duration of the generated transitions set in milliseconds, including delays between animators and their respective durations.

Defaults to 1000 milliseconds.