Protocol

INSetProfileInCarIntentHandling

The handler interface for restoring vehicle environment settings from a user-specified profile.

Declaration

@protocol INSetProfileInCarIntentHandling

Overview

Automotive venders can support the INSetProfileInCarIntentHandling protocol in an Intents extension that they ship with their automotive apps. Use the methods of this protocol to resolve, confirm, and handle requests to restore vehicle-related settings from the profile that the user designated. Your extension should be able to communicate with the vehicle and make the necessary changes.

Siri delivers an INSetProfileInCarIntent object to your handler when the user asks to restore the current settings from a profile. The provided intent object contains information for determining which profile to use.

Topics

Resolving the Intent Parameters

- resolveProfileNumberForSetProfileInCar:withCompletion:

Resolves the profile index from which to restore any settings.

- resolveProfileNameForSetProfileInCar:withCompletion:

Resolves the profile name from which to retrieve settings.

- resolveDefaultProfileForSetProfileInCar:withCompletion:

Resolves whether the profile can become the default profile.

Deprecated

Confirming the Response

- confirmSetProfileInCar:completion:

Confirms whether you can restore the settings from the designated profile.

Handling the Intent

- handleSetProfileInCar:completion:

Handles restoring settings from the designated profile.

Required.

Relationships

Inherits From

See Also

Set Profile in Car

INSetProfileInCarIntent

A request to change the user’s vehicle environment settings to the ones from the specified profile.

INSetProfileInCarIntentResponse

Your app’s response to a set profile in car intent.