Contents

resolveClimateZone(for:with:)

Resolves the requested climate zone.

Declaration

optional func resolveClimateZone(for intent: INSetClimateSettingsInCarIntent, with completion: @escaping  @Sendable (INCarSeatResolutionResult) -> Void)
optional func resolveClimateZone(for intent: INSetClimateSettingsInCarIntent) async -> INCarSeatResolutionResult

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 block to execute with the resolution. 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 that contains the Incarseat value that you intend to use. If the intent doesn’t apply to this setting, return a result that indicates the value isn’t required.

Discussion

Implement this method to resolve the climate zone. Use the intent object to identify the climate zone specified by the user. If the car has more than one climate zone, use the intent’s climateZone property to identify the correct zone.

See Also

Resolving the Intent Parameters