Class

INGetRideStatusIntentResponse

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

Declaration

@interface INGetRideStatusIntentResponse : INIntentResponse

Overview

An INGetRideStatusIntentResponse object contains your app’s response to a request for the status of the user’s current ride. SiriKit can ask for the status of a ride at any time, but often this occurs in response to a direct request from the user. Use your response object to provide current details about the user’s ride, including the estimated pickup time, the pickup location, the drop-off location, the vehicle type, the driver, and so on.

You create an INGetRideStatusIntentResponse object in the confirmGetRideStatus:completion: and handleGetRideStatus:completion: methods of your handler object. For more information about implementing your handler object, see INGetRideStatusIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INGetRideStatusIntentResponseCode

Constants indicating the state of the response.

Getting the Ride Status Information

rideStatus

The current status of the ride.

Relationships

Inherits From

See Also

Get the Ride Status

INGetRideStatusIntentHandling

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

INGetRideStatusIntent

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

INGetRideStatusIntentResponseObserver

An interface for providing updated status for an active ride.