INGetRideStatusIntentHandling
INGetRideStatusIntentHandling
INGetRideStatusIntentHandling Protocol of Intents The handler interface for fetching the status of the user’s current ride.
protocol INGetRideStatusIntentHandling : NSObjectProtocolOverview
Use the methods of the INGetRideStatusIntentHandling protocol to confirm and handle requests to get the status of the user’s currently booked ride. Adopt this protocol in an object of your Intents extension that is capable of retrieving the ride details from your service.
SiriKit may deliver an INGetRideStatusIntent object to your handler object at any time, including when the user asks explicitly for the status of that ride. The specified intent object contains no additional information. Your app must know which ride is currently active. Use the methods of this protocol to handle the request and provide an appropriate response.
Maps does not require you to confirm the contents of a get ride status intent before handling it. User interactions drive the selection of data in Maps, ensuring that the data Maps places into an intent object is already valid.