An interface for adopting all of the protocols in the ride-booking domain.
- iOS 11.0+
- watchOS 3.2+
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.