Your app’s response to a list ride options intent.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
INList 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
ride 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
NSUser 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
INList object in the
handle methods of your handler object. For more information about implementing your handler object, see