RefreshOnEmpty

public enum RefreshOnEmpty

Describes how periodic requests for AlternativeRoutes should be made.

  • Will not do periodic requests for alternatives.

    Declaration

    Swift

    case noPeriodicRefresh
  • Requests will be made with given time interval. Using this option may result in increased traffic consumption, but help detect alternative routes which may appear during road conditions change during the trip. Default values time interval is 3 minutes.

    Declaration

    Swift

    case refreshesPeriodically(_: TimeInterval = 180)