<!--
{
  "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/INRequestRideIntentHandling/resolveRideOptionName(for:with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INRequestRideIntentHandling(im)resolveRideOptionNameForRequestRide:withCompletion:"
  },
  "title" : "resolveRideOptionName(for:with:)"
}
-->

# resolveRideOptionName(for:with:)

Resolves the user’s selected ride option.

```
optional func resolveRideOptionName(for intent: INRequestRideIntent, with completion: @escaping @Sendable (INSpeakableStringResolutionResult) -> Void)
```

## Parameters

`intent`

The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.

`completion`

The handler block to execute with the resolution. 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:

- resolutionResult: The resolution result object containing information about your proposed resolution. For successful resolutions, specify an <doc://com.apple.documentation/documentation/Foundation/NSString> object that corresponds to the [`name`](/documentation/Intents/INRideOption/name) property of the [`INRideOption`](/documentation/Intents/INRideOption) object you use to describe one of your company’s ride options. This parameter must not be `nil`.

## Discussion

Implement this method to identify the type of ride that the user requested. Siri places the name of the ride option in the intent parameter. That name corresponds either to a ride option name defined in your global vocabulary file or a spoken term that Siri interpreted as the preferred ride option. Use the provided information to ensure that you recognize the vehicle type and that a vehicle of that type is available. If the specified vehicle type is not available, create a resolution result containing a different ride option and ask the user to confirm the new value.

If you do not implement this method, Siri assumes that you are able to book the ride using the information provided by the user.

Maps does not call this method. The Maps interface lets the user choose a ride option explicitly, making resolution of that value unnecessary.

---

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)