Class

INSaveProfileInCarIntentResponse

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

Overview

An INSaveProfileInCarIntentResponse object contains the status of saving one or more environment settings to the designated profile. You create instances of this class when confirming or handling a save profile in car intent.

You create an INSaveProfileInCarIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your save profile in car handler object. For more information about implementing your handler object, see INSaveProfileInCarIntentHandling.

Topics

Initializing the Response Object

init(code: INSaveProfileInCarIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INSaveProfileInCarIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INSaveProfileInCarIntentResponseCode

Constants indicating the state of the response.

Relationships

Inherits From

Conforms To

See Also

Save Profile in Car

protocol INSaveProfileInCarIntentHandling

The handler interface for saving vehicle environment settings to a user-specified profile.

class INSaveProfileInCarIntent

A request to save the user’s vehicle environment settings in a CarPlay-enabled vehicle.