An interface for providing updated status for an active ride.


protocol INGetRideStatusIntentResponseObserver


The INGetRideStatusIntentResponseObserver protocol defines methods that provide SiriKit with an updated status for an active ride request. You do not implement the methods of this protocol in your own objects. Instead, the system provides an object that adopts this protocol. You call its didUpdate(getRideStatus:) method to deliver updated information about the status of a booked ride.

When the system initiates a request for status updates, it passes an object that adopts this protocol to the startSendingUpdates(for:to:) method of your ride status handler object—your custom object that adopts the INGetRideStatusIntentHandling protocol. Your handler must store a reference to this object and use it to deliver regular updates about the status of the ride.

For more information about providing status updates for a ride, see INGetRideStatusIntentHandling.


Updating the Status of a Ride

Providing Live Status Updates

Provide regular updates to Maps about the status of a booked ride.

func didUpdate(getRideStatus: INGetRideStatusIntentResponse)

Call this method when you have updated information about the ride.



Inherits From

See Also

Get the Ride Status

protocol INGetRideStatusIntentHandling

The handler interface for fetching the status of the user’s current ride.

class INGetRideStatusIntent

A request for the current status of a previously booked ride.

class INGetRideStatusIntentResponse

Your app’s response to a get ride status intent.