summaryrefslogtreecommitdiff
path: root/location/map-service/location-route.h
diff options
context:
space:
mode:
Diffstat (limited to 'location/map-service/location-route.h')
-rw-r--r--location/map-service/location-route.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/location/map-service/location-route.h b/location/map-service/location-route.h
index 69a9e5b..84e048d 100644
--- a/location/map-service/location-route.h
+++ b/location/map-service/location-route.h
@@ -1490,6 +1490,18 @@ guint location_route_element_get_element_start_time(const LocationRoadElement *s
guint location_route_element_get_element_travel_time(const LocationRoadElement *step);
/**
+ * @brief Get the estimated time of arrival (ETA) and suggested departure time for the route.
+ * @remarks The service provider should support route service.
+ * @pre None.
+ * @post None.
+ * @param [in] step - a #LocationRoadElement
+ * @return the estimated time of arrival (ETA) and suggested departure time for the route.
+ * @retval
+ * @see location_route_element_set_eta_validity
+ */
+RouteETAValidity location_route_element_get_eta_validity(const LocationRoadElement *step);
+
+/**
* @brief Get the destination of this run.
* @remarks The service provider should support route service.
* @pre None.