SearchResultRouteInfo
Represents a search result enhanced with route metrics information.
This class contains route-specific metrics for a search result, including distance and estimated time of arrival from the user's current location. It provides serialization capabilities for IPC communication via Bundle.
Performance Note: Due to computational complexity, it's expensive to calculate accurate ETA and precise route distance for SearchResult objects. These calculations involve routing algorithms and real-time traffic data processing, which can significantly impact performance when processing multiple search results simultaneously.
Properties
The distance in meters from the search result to the user location.
The estimated time of arrival in minutes from the search result to the user location.
The estimated time of arrival in seconds from the search result to the user location.
Unique identifier of the associated search result.
State of charge percentage at the end destination point (for EV routes).