Interface RouteInfo


public interface RouteInfo
Computed route info
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get route color
    int
    Get route Id.
    int
    Get route length in meters
    int
    Get route time in seconds
  • Method Details

    • getRouteId

      @IntRange(from=1L) int getRouteId()
      Get route Id. Always greater than zero.
      Returns:
      route id
      Since:
      1.0
    • getRouteLength

      @IntRange(from=1L) int getRouteLength()
      Get route length in meters
      Returns:
      route length
      Since:
      1.0
    • getRouteTime

      @IntRange(from=1L) int getRouteTime()
      Get route time in seconds
      Returns:
      route time
      Since:
      1.0
    • getRouteColor

      int getRouteColor()
      Get route color
      Returns:
      route highlight color
      Since:
      1.0