An interface for adopting all of the protocols in the ride-booking domain.
- iOS 11.0–13.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 3.2–6.0Deprecated
INRidesharing protocol is a convenience protocol that adopts all of the protocols used to handle ride sharing-related intents. When your app adopts all of the protocols associated with ride sharing, you can adopt this one protocol instead of adopting the
INSend protocols separately.
An object that adopts this protocol must be able to respond to the following intents:
INList, a request to view the available vehicles and prices.
Ride Options Intent
INRequest, a request to book a ride.
INGet, a request to get the status of a previously booked ride.
Ride Status Intent
INCancel, a request to cancel the currently active ride.
INSend, a request to record feedback for the just-completed ride.
Ride Feedback Intent
Your handler object must be prepared to resolve any parameters associated with these intents and to confirm and handle the requests. When confirming and handling a request, you provide the response object that matches the specified intent.