<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INRequestRideIntentResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INRequestRideIntentResponse"
  },
  "title" : "INRequestRideIntentResponse"
}
-->

# INRequestRideIntentResponse

Your app’s response to a request ride intent.

```
class INRequestRideIntentResponse
```

## Overview

An [`INRequestRideIntentResponse`](/documentation/Intents/INRequestRideIntentResponse) object contains your app’s response to a ride-booking request. After creating your response object, assign an appropriate object to the [`rideStatus`](/documentation/Intents/INRequestRideIntentResponse/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`](/documentation/Intents/INRideStatus) object with information about the ride. Specifically, your status object must include a valid [`INRideOption`](/documentation/Intents/INRideOption) object and you should always specify an activity object in the [`userActivityForCancelingInApplication`](/documentation/Intents/INRideStatus/userActivityForCancelingInApplication) property of your status object. When handling the intent, the [`INRequestRideIntentResponseCode.unspecified`](/documentation/Intents/INRequestRideIntentResponseCode/unspecified) and [`INRequestRideIntentResponseCode.ready`](/documentation/Intents/INRequestRideIntentResponseCode/ready) codes generate an error and should not be used.

You create an [`INRequestRideIntentResponse`](/documentation/Intents/INRequestRideIntentResponse) object in the [`confirm(intent:completion:)`](/documentation/Intents/INRequestRideIntentHandling/confirm(intent:completion:)) and [`handle(intent:completion:)`](/documentation/Intents/INRequestRideIntentHandling/handle(intent:completion:)) methods of your handler object. For more information about implementing your handler object, see [`INRequestRideIntentHandling`](/documentation/Intents/INRequestRideIntentHandling).

## Topics

### Initializing the Response Object

[`init(code:userActivity:)`](/documentation/Intents/INRequestRideIntentResponse/init(code:userActivity:))

Initializes the response object with the specified code and user activity object.

### Getting the Response Code

[`code`](/documentation/Intents/INRequestRideIntentResponse/code)

The code indicating whether you successfully handled the intent.

[`INRequestRideIntentResponseCode`](/documentation/Intents/INRequestRideIntentResponseCode)

Constants indicating the state of the response.

### Accessing the Response Parameters

[`rideStatus`](/documentation/Intents/INRequestRideIntentResponse/rideStatus)

The current status of the ride.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)