---
title: MKDirections.ETAResponse
framework: mapkit
role: symbol
role_heading: Class
path: mapkit/mkdirections/etaresponse
---

# MKDirections.ETAResponse

The travel-time information that Apple servers return.

## Declaration

```swift
class ETAResponse
```

## Overview

Overview You don’t create instances of this class directly. Instead, you initiate a request for the travel time by calling the calculateETA(completionHandler:) method of an MKDirections object. The completion handler you pass to that method receives an MKDirections.ETAResponse object with the results.

## Topics

### Getting the end points

- [source](mapkit/mkdirections/etaresponse/source.md)
- [destination](mapkit/mkdirections/etaresponse/destination.md)

### Getting the travel information

- [expectedTravelTime](mapkit/mkdirections/etaresponse/expectedtraveltime.md)
- [expectedDepartureDate](mapkit/mkdirections/etaresponse/expecteddeparturedate.md)
- [expectedArrivalDate](mapkit/mkdirections/etaresponse/expectedarrivaldate.md)
- [distance](mapkit/mkdirections/etaresponse/distance.md)
- [transportType](mapkit/mkdirections/etaresponse/transporttype.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Directions

- [MKDirections](mapkit/mkdirections.md)
- [MKDirections.Request](mapkit/mkdirections/request.md)
- [MKDirections.Response](mapkit/mkdirections/response.md)
- [MKRoute](mapkit/mkroute.md)
- [MKRoute.Step](mapkit/mkroute/step.md)
