Class

INActivateCarSignalIntentResponse

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

Declaration

@interface INActivateCarSignalIntentResponse : INIntentResponse

Overview

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 confirmActivateCarSignal:completion: and handleActivateCarSignal:completion: methods of your handler object. For more information about implementing your handler object, see INActivateCarSignalIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

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

Getting the Response Code

code

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

INActivateCarSignalIntentResponseCode

Constants indicating the status of the response.

Providing the Signal Information

signals

The type of signal produced (audible or visual).

Relationships

Inherits From

See Also

Activate Car Signal

INActivateCarSignalIntentHandling

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

INActivateCarSignalIntent

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