Class

INSetCarLockStatusIntentResponse

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

Declaration

@interface INSetCarLockStatusIntentResponse : INIntentResponse

Overview

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.

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.

INSetCarLockStatusIntentResponseCode

Constants indicating the status of the response.

Relationships

Inherits From

See Also

Set Car Lock Status

INSetCarLockStatusIntentHandling

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

INSetCarLockStatusIntent

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