Class

INSetProfileInCarIntentResponse

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

Declaration

@interface INSetProfileInCarIntentResponse : INIntentResponse

Overview

An INSetProfileInCarIntentResponse object contains the status of restoring one or more environment settings from a designated profile. You create instances of this class when confirming or handling a set profile in car intent.

You create an INSetProfileInCarIntentResponse object in the confirmSetProfileInCar:completion: and handleSetProfileInCar:completion: methods of your set profile in car handler object. For more information about implementing your handler object, see INSetProfileInCarIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INSetProfileInCarIntentResponseCode

Constants indicating the state of the response.

Relationships

Inherits From

See Also

Set Profile in Car

INSetProfileInCarIntentHandling

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

INSetProfileInCarIntent

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