-
-
The raw HTTP response from the Directions Refresh API.
-
The response identifier used to request the refreshed route.
-
The route index used to request the refreshed route.
-
-
A skeleton route that contains only the time-sensitive information that has been updated.
Use the
Route.refreshLegAttributes(from:)
,Route.refreshLegAttributes(from:legIndex:legShapeIndex:)
,Route.refreshLegIncidents(from:)
,Route.refreshLegIncidents(from:legIndex:legShapeIndex:)
,Route.refreshLegClosures(from:legIndex:legShapeIndex:)
orRoute.refresh(from:refreshParameters:)
methods to merge this object with the original route to continue using the original route with updated information. -
The credentials used to make the request.
-
The time when this
RouteRefreshResponse
object was created, which is immediately upon recieving the raw URL response.If you manually start fetching a task returned by
Directions.urlRequest(forRefreshing:routeIndex:currentLegIndex:)
, this property is set tonil
; use theURLSessionTaskTransactionMetrics.responseEndDate
property instead. This property may also be set tonil
if you create this result from a JSON object or encoded object.This property does not persist after encoding and decoding.
-
-