Protocol

INGetCarLockStatusIntentHandling

The handler interface for requesting the current status of the car’s locks.

Declaration

protocol INGetCarLockStatusIntentHandling

Overview

Use the methods of the INGetCarLockStatusIntentHandling protocol to resolve, confirm, and handle requests for the current status of the car’s locks. Adopt this protocol in an object of your Intents extension that’s capable of accessing the status of the car’s locks.

Siri delivers an INGetCarLockStatusIntent object to your handler when the user asks whether the car is locked or unlocked. The provided intent object can contain the car’s name (if specified).

Topics

Resolving the Intent Parameters

Confirming the Response

Handling the Intent

func handle(intent: INGetCarLockStatusIntent, completion: (INGetCarLockStatusIntentResponse) -> Void)

Accesses and returns the current status of the car’s locks.

Required.

Relationships

Inherits From

See Also

Get Car Lock Status

class INGetCarLockStatusIntent

A request to get the lock status of the user’s car.

class INGetCarLockStatusIntentResponse

Your app’s response to a request to get the car’s lock status.