Your app’s response to a request to activate a car’s signals.


class INActivateCarSignalIntentResponse : INIntentResponse


Use an INActivateCarSignalIntentResponse object to specify the result of a request to activate the signal on the user’s car. You create instances of this class when confirming or handling an activate car signal intent. Use this object to confirm that the request is valid and communicate whether the signal was successfully activated, or to report any errors that occur.

You create an INActivateCarSignalIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INActivateCarSignalIntentHandling.


Initializing the Response Object

init(code: INActivateCarSignalIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INActivateCarSignalIntentResponseCode

The code indicating success or failure when confirming or handling an intent.

enum INActivateCarSignalIntentResponseCode

Constants indicating the status of the response.

Providing the Signal Information

var signals: INCarSignalOptions

The type of signal produced (audible or visual).


Inherits From

Conforms To

See Also

Activate Car Signal

protocol INActivateCarSignalIntentHandling

The handler interface for requesting to activate the car’s signals.

class INActivateCarSignalIntent

A request to activate the signals on the user’s car.