AI-generated Key Takeaways
- 
          GMSNavigationRouteInfois an immutable class providing estimated time of arrival (ETA) and distance data for routes to a waypoint.
- 
          It offers information for both the default best route and the shortest route. 
- 
          timeAndDistanceForRoutingStrategy:method returns ETA and distance details for the main route based on the chosen navigation routing strategy.
GMSNavigationRouteInfo
@interface GMSNavigationRouteInfo : NSObjectAn immutable class that encapsulates ETA and distance information for both the default best route, and the shortest route, to a specific waypoint.
- 
                  
                  Unavailable DeclarationObjective-C - (null_unspecified instancetype)init NS_UNAVAILABLE;
- 
                  
                  Returns the ETA and distance information for the main route if navigating with the given routing strategy. DeclarationSwift func timeAndDistance(for routingStrategy: GMSNavigationRoutingStrategy) -> GMSNavigationTimeAndDistance?Objective-C - (GMSNavigationTimeAndDistance *_Nullable)timeAndDistanceForRoutingStrategy: (GMSNavigationRoutingStrategy)routingStrategy;