Interface IsolineTrafficOptions.Builder

    • Method Detail

      • flowEventThresholdOverride

        IsolineTrafficOptions.Builder flowEventThresholdOverride​(Long flowEventThresholdOverride)

        Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.

        Unit: seconds

        Parameters:
        flowEventThresholdOverride - Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.

        Unit: seconds

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usage

        IsolineTrafficOptions.Builder usage​(String usage)

        Determines if traffic should be used or ignored while calculating the route.

        Default Value: UseTrafficData

        Parameters:
        usage - Determines if traffic should be used or ignored while calculating the route.

        Default Value: UseTrafficData

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrafficUsage, TrafficUsage
      • usage

        IsolineTrafficOptions.Builder usage​(TrafficUsage usage)

        Determines if traffic should be used or ignored while calculating the route.

        Default Value: UseTrafficData

        Parameters:
        usage - Determines if traffic should be used or ignored while calculating the route.

        Default Value: UseTrafficData

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrafficUsage, TrafficUsage