Protocol

INListRideOptionsIntentHandling

The handler interface for fetching the list of rides currently available from your ride-booking service.

Declaration

@protocol INListRideOptionsIntentHandling

Overview

Use the methods of the INListRideOptionsIntentHandling protocol to resolve, confirm, and handle requests for information about the types of rides available from your service right now. Maps asks for this information when the user searches for a ride between the specified pickup and drop-off locations. Adopt this protocol in an object of your Intents extension that is capable of retrieving the ride information from your servers.

Ride options represent the categories of vehicles that your service offers and do not represent specific vehicles in your fleet. Each ride option contains information about the passenger capacity and pricing of the corresponding vehicles. You should also provide an estimated time at which one or more vehicles of that type could pick up the user.

Maps may deliver an INListRideOptionsIntent object to your handler object at any time. Maps does not require you to resolve or confirm the contents of a list ride options 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.

Topics

Resolving the Intent Parameters

- resolveDropOffLocationForListRideOptions:withCompletion:

Resolves the user’s drop-off location.

Confirming the Response

- confirmListRideOptions:completion:

Confirms that you can provide the list of ride options.

Handling the Intent

- handleListRideOptions:completion:

Handles providing the list of ride options.

Required.

Relationships

Inherits From

See Also

List Ride Options

Generating a List of Ride Options

Generate ride options for Maps to display to the user.

INListRideOptionsIntent

An intent for getting the types of rides available from a ride-booking service.

INListRideOptionsIntentResponse

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software