TomTomReplanningRetryPolicy

class TomTomReplanningRetryPolicy(maxRetryDelay: Duration = MAX_RETRY_DELAY) : ReplanningRetryPolicy

Default implementation of a ReplanningRetryPolicy.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

maxRetryDelay

Maximal delay between retries.

Constructors

Link copied to clipboard
fun TomTomReplanningRetryPolicy(maxRetryDelay: Duration = MAX_RETRY_DELAY)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun calculateRetryDelay(attempt: Int): Duration

Calculates a delay between each of the retries.