Your app’s response to a request ride intent.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
INRequest object contains your app’s response to a ride-booking request. After creating your response object, assign an appropriate object to the
ride 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
INRide object with information about the ride. Specifically, your status object must include a valid
INRide object and you should always specify an activity object in the
user property of your status object. When handling the intent, the
INRequest codes generate an error and should not be used.
You create an
INRequest object in the
handle(intent: methods of your handler object. For more information about implementing your handler object, see