TomTomReplanningRetryPolicy

public final class TomTomReplanningRetryPolicy : ReplanningRetryPolicy

Default implementation of a ReplanningRetryPolicy.

Important

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

Lifecycle

  • Initializer

    Declaration

    Swift

    public convenience init(forDeviation: Bool = false)

    Parameters

    forDeviation

    flag to use default policy for deviation.

  • Initializer

    Declaration

    Swift

    public init(
        maxNumberOfRetries: Int?,
        maxRetryDelay: DispatchTimeInterval
    )

    Parameters

    maxNumberOfRetries

    Maximal number of retries. Nil is unlimited.

    maxRetryDelay

    Maximal delay between retries.

Public