Contents

INGetRideStatusIntentResponseObserver

An interface for providing updated status for an active ride.

Declaration

protocol INGetRideStatusIntentResponseObserver : NSObjectProtocol

Overview

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.

Topics

Updating the Status of a Ride

See Also

Get the Ride Status