Initializes the intent object with the specified booking information.
- iOS 11.0+
- Mac Catalyst 13.0+
The restaurant to contact regarding the booking.
The date and time of the reservation.
The total number of people in the user’s party.
The unique identifier associated with the initial reservation data.
The identity of the guest associated to associate with the reservation.
The special offer, if any, selected by the user.
Information about any special requests made by the user.
An initialized intent object or
nil if the object could not be created.
Normally, you do not create instances of this class yourself. Instead, SiriKit creates instances when the user asks to create a restaurant booking. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.