Class

INSetProfileInCarIntentResponse

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

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 confirm(intent:completion:) and handle(intent: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

init(code: INSetProfileInCarIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INSetProfileInCarIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INSetProfileInCarIntentResponseCode

Constants indicating the state of the response.

Relationships

Inherits From

Conforms To

See Also

Set Profile in Car

protocol INSetProfileInCarIntentHandling

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

class INSetProfileInCarIntent

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