---
title: INRequestRideIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/inrequestrideintentresponse
---

# INRequestRideIntentResponse

Your app’s response to a request ride intent.

## Declaration

```swift
class INRequestRideIntentResponse
```

## Overview

Overview An INRequestRideIntentResponse object contains your app’s response to a ride-booking request. After creating your response object, assign an appropriate object to the rideStatus property. The ride status object provides the details about how you handled the ride, including details about selected vehicle type, pricing, driver information, pickup time, pickup location, drop-off location, and so on. Siri and Maps display your response information to the user during the confirmation and booking phases. Siri and Maps expect your response to contain a valid INRideStatus object with information about the ride. Specifically, your status object must include a valid INRideOption object and you should always specify an activity object in the userActivityForCancelingInApplication property of your status object. When handling the intent, the INRequestRideIntentResponseCode.unspecified and INRequestRideIntentResponseCode.ready codes generate an error and should not be used. You create an INRequestRideIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INRequestRideIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/inrequestrideintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/inrequestrideintentresponse/code.md)
- [INRequestRideIntentResponseCode](intents/inrequestrideintentresponsecode.md)

### Accessing the Response Parameters

- [rideStatus](intents/inrequestrideintentresponse/ridestatus.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Request a Ride

- [INRequestRideIntentHandling](intents/inrequestrideintenthandling.md)
- [INRequestRideIntent](intents/inrequestrideintent.md)
