---
title: "resolveScheduledPickupTime(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/inrequestrideintenthandling/resolvescheduledpickuptime(for:with:)"
---

# resolveScheduledPickupTime(for:with:)

Resolves the pickup time for the ride.

## Declaration

```swift
optional func resolveScheduledPickupTime(for intent: INRequestRideIntent, with completion: @escaping @Sendable (INDateComponentsRangeResolutionResult) -> Void)
```

```swift
optional func resolveScheduledPickupTime(for intent: INRequestRideIntent) async -> INDateComponentsRangeResolutionResult
```

## 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:

## Discussion

Discussion Implement this method to verify that you can pick up the user at the requested time. You may specify a pickup time that does not precisely match the requested time. If the pickup time is close to the requested time, return a successful resolution. If the pickup time is earlier than the requested time or significantly later than the requested time, ask the user for confirmation.

## See Also

### Resolving the Intent Parameters

- [resolvePickupLocation(for:with:)](intents/inrequestrideintenthandling/resolvepickuplocation(for:with:).md)
- [resolveDropOffLocation(for:with:)](intents/inrequestrideintenthandling/resolvedropofflocation(for:with:).md)
- [resolveRideOptionName(for:with:)](intents/inrequestrideintenthandling/resolverideoptionname(for:with:).md)
- [resolvePartySize(for:with:)](intents/inrequestrideintenthandling/resolvepartysize(for:with:).md)
