INListRideOptionsIntent
An intent for getting the types of rides available from a ride-booking service.
Declaration
class INListRideOptionsIntentMentioned in
Overview
Maps creates an INListRideOptionsIntent object when it needs to display the types of vehicles that your service offers. Use the information in this intent to identify the possible vehicles that you can provide to the user right now. The intent contains information about the user’s pickup and drop-off locations, which you can use to determine ride availability, pricing, and estimated pickup times. This intent object represents a request for information and is not a commitment from the user to book any of the specified rides.
To handle this intent, the handler object in your Intents extension must adopt the INListRideOptionsIntentHandling protocol. Your handler should resolve and confirm the request parameters and create an INListRideOptionsIntentResponse object with the list of options.
Additional Intent Attributes
The following table lists additional attributes of this intent object:
Attribute | Description |
|---|---|
Supported by | Maps |
Always requires unlocked device | Yes |