Protocol

INSetCarLockStatusIntentHandling

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

Declaration

@protocol INSetCarLockStatusIntentHandling

Overview

Use the methods of the INSetCarLockStatusIntentHandling protocol to resolve, confirm, and handle requests to lock or unlock the user’s car. Adopt this protocol in an object of your Intents extension that is capable of locking or unlocking the car.

Siri delivers an INSetCarLockStatusIntent object to your handler when the user asks to lock or unlock the car. The provided intent object can contain the car’s name (if specified), and the requested lock status (locked or unlocked).

Topics

Resolving the Intent Parameters

- resolveCarNameForSetCarLockStatus:withCompletion:

Resolves the name of the user’s car.

- resolveLockedForSetCarLockStatus:withCompletion:

Resolves the requested lock status (locked or unlocked).

Confirming the Response

- confirmSetCarLockStatus:completion:

Confirms that your app can lock or unlock the car.

Handling the Intent

- handleSetCarLockStatus:completion:

Handles locking or unlocking the car.

Required.

Relationships

Inherits From

See Also

Set Car Lock Status

INSetCarLockStatusIntent

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

INSetCarLockStatusIntentResponse

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