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

# INBookRestaurantReservationIntentResponse

Your app’s response to a book restaurant reservation intent.

```
class INBookRestaurantReservationIntentResponse
```

## Overview

An [`INBookRestaurantReservationIntentResponse`](/documentation/Intents/INBookRestaurantReservationIntentResponse) object contains final reservation booking information. You create an instance of this class when confirming or handling an [`INBookRestaurantReservationIntent`](/documentation/Intents/INBookRestaurantReservationIntent) object, which contains the details of the reservation that you need to book.

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

## Topics

### Initializing the Response Object

[`-  initWithCode:userActivity:`](/documentation/Intents/INBookRestaurantReservationIntentResponse/init(code:userActivity:))

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

### Accessing the Response Information

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

The code indicating whether you successfully handled the intent.

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

Constants indicating the state of the response.

[`userBooking`](/documentation/Intents/INBookRestaurantReservationIntentResponse/userBooking)

The detailed information about the reservation.

## Relationships

### Conforms To

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

### Inherits From

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

---

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)