Your app’s response to a request to lock or unlock the car.


@interface INSetCarLockStatusIntentResponse : INIntentResponse


Use an INSetCarLockStatusIntentResponse object to specify the result of a request to lock or unlock the user’s car. You create instances of this class when confirming or handling a set car lock intent. Use this object to confirm that the request is valid and communicate whether the car was successfully locked or unlocked, or to report any errors that occur.

You create an INSetCarLockStatusIntentResponse object in the confirmSetCarLockStatus:completion: and handleSetCarLockStatus:completion: methods of your handler object. For more information about implementing your handler object, see INSetCarLockStatusIntentHandling.


Initializing the Response Object

- initWithCode:userActivity:

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

Getting the Response Code


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


Constants indicating the status of the response.


Inherits From

See Also

Set Car Lock Status


The handler interface for requesting to lock or unlock a car.


A request to lock or unlock the user’s car.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software