resolveSeat(for:with:)
Resolves the requested seat position.
Declaration
optional func resolveSeat(for intent: INSetSeatSettingsInCarIntent, with completion: @escaping @Sendable (INCarSeatResolutionResult) -> Void)optional func resolveSeat(for intent: INSetSeatSettingsInCarIntent) async -> INCarSeatResolutionResultParameters
- 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 block to execute with your response. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:
- resolutionResult
The object containing the details of your proposed resolution. For successful resolutions, create a resolution object with the Incarseat value that you intend to use.
Discussion
Implement this method to resolve the requested seat position. If the specified seat position doesn’t support the given settings, consider returning a result with a more appropriate value and asking the user for confirmation.