Contents

INListRideOptionsIntentResponse

Your app’s response to a list ride options intent.

Declaration

class INListRideOptionsIntentResponse

Overview

An INListRideOptionsIntentResponse object contains your app’s response to a request for ride options that your service offers. SiriKit can ask for a list of ride options at any time. When creating your response object, provide the types of vehicles you can offer in the rideOptions property. Each option provides information about a specific type of vehicle, including information about the pricing and passenger capacity of those vehicles. You can also provide information about accepted forms of payment and when the list of ride options expires.

When creating a response object with a code that involves launching the app, always provide a relevant NSUserActivity object. The activity object gets delivered to your parent app so that it has the context that it needs to handle the operation.

You create an INListRideOptionsIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INListRideOptionsIntentHandling.

Topics

Initializing the Response Object

Getting the Response Code

Accessing the Response Parameters

Constants

See Also

List Ride Options