# GMSNavigationRouteDescription

    @protocol GMSNavigationRouteDescription <NSObject>

Encapsulates the result of a `setDestinations` request, wrapping the route status and, on
failure, an error describing what went wrong.

@related `https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigator.html`
- `


  ### [routeStatus](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Protocols/GMSNavigationRouteDescription#/c:objc(pl)GMSNavigationRouteDescription(py)routeStatus)


  ` The status of the route request. See `https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Enums/GMSRouteStatus.html` for possible values.

  #### Declaration

  Swift

      var routeStatus: https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Enums/GMSRouteStatus.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Enums/GMSRouteStatus.html routeStatus;

- `


  ### [error](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Protocols/GMSNavigationRouteDescription#/c:objc(pl)GMSNavigationRouteDescription(py)error)


  ` An error describing the failure when `https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Protocols/GMSNavigationRouteDescription.html#/c:objc(pl)GMSNavigationRouteDescription(py)routeStatus` is any value other than `GMSRouteStatusOK`,
  or `nil` when the route request succeeds (`GMSRouteStatusOK`). Check `error != nil` (or
  `routeStatus != GMSRouteStatusOK`) to detect failures.

  #### Declaration

  Swift

      var error: (any Error)? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSError *error;

- `


  ### [routeTokenExecutionDetails](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Protocols/GMSNavigationRouteDescription#/c:objc(pl)GMSNavigationRouteDescription(py)routeTokenExecutionDetails)


  ` Route token execution metadata returned by the routing engine when navigating with a precomputed
  route token, including token application status and effective routing parameters.

  `nil` if execution details were not provided by the server, or if the request failed.

  #### Declaration

  Swift

      var routeTokenExecutionDetails: (any NavigationRouteTokenExecutionDetails)? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) id<https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Protocols/GMSNavigationRouteTokenExecutionDetails.html> routeTokenExecutionDetails;