---
title: INCancelRideIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/incancelrideintentresponse
---

# INCancelRideIntentResponse

Your app’s response to a cancel ride intent.

## Declaration

```swift
class INCancelRideIntentResponse
```

## Overview

Overview An INCancelRideIntentResponse object contains your app’s response to the cancellation of a ride. After creating the response object, specify any cancellation-related fees using the properties of this object. Siri and Maps display your response information to the user during the confirmation phase. You create an INCancelRideIntentResponse object in the confirm(cancelRide:completion:) and handle(cancelRide:completion:) methods of your handler object. For more information about implementing your handler object, see INCancelRideIntentHandling.

## Topics

### Initializing the Response Object

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

### Getting the Response Code

- [code](intents/incancelrideintentresponse/code.md)
- [INCancelRideIntentResponseCode](intents/incancelrideintentresponsecode.md)

### Specifying Cancellation Fees

- [cancellationFee](intents/incancelrideintentresponse/cancellationfee.md)
- [cancellationFeeThreshold](intents/incancelrideintentresponse/cancellationfeethreshold.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

### Cancel Ride

- [INCancelRideIntentHandling](intents/incancelrideintenthandling.md)
- [INCancelRideIntent](intents/incancelrideintent.md)
