<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INListRideOptionsIntentHandling/handle(intent:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INListRideOptionsIntentHandling(im)handleListRideOptions:completion:"
  },
  "title" : "handle(intent:completion:)"
}
-->

# handle(intent:completion:)

Handles providing the list of ride options.

```
func handle(intent: INListRideOptionsIntent, completion: @escaping @Sendable (INListRideOptionsIntentResponse) -> Void)
```

## Parameters

`intent`

The intent object containing details of the request. Use the information in this object to identify available ride options for the user.

`completion`

The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

- response: The [`INListRideOptionsIntentResponse`](/documentation/Intents/INListRideOptionsIntentResponse) object containing the ride options available to the user. This parameter must not be `nil`.

## Discussion

In your implementation of this method, compile a list of available ride options and create [`INRideOption`](/documentation/Intents/INRideOption) objects for each one. Ride option names must be unique so that you can correctly identify the selected option later. Put the ride options into your response object and call the provided `completion` block with the results.

For more information about configuring ride options, see [`INRideOption`](/documentation/Intents/INRideOption).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)