IndexedRouteResponse
public struct IndexedRouteResponse
A RouteResponse object that sorts routes from most optimal to least optimal and selected route index in it.
-
RouteResponseobject, containing selection of routes to follow.Declaration
Swift
public let routeResponse: RouteResponse -
The index of the selected route within the
routeResponse.Declaration
Swift
public let routeIndex: Int -
Initializes a new
IndexedRouteResponseobject.Declaration
Swift
public init(routeResponse: RouteResponse, routeIndex: Int)Parameters
routeResponseRouteResponseobject, containing routes and other related info.routeIndexSelected route index in an array.
Install in Dash
IndexedRouteResponse Structure Reference