<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INGetCarLockStatusIntentHandling/handle(intent:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INGetCarLockStatusIntentHandling(im)handleGetCarLockStatus:completion:"
  },
  "title" : "handle(intent:completion:)"
}
-->

# handle(intent:completion:)

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

```
func handle(intent: INGetCarLockStatusIntent, completion: @escaping @Sendable (INGetCarLockStatusIntentResponse) -> Void)
```

```
func handle(intent: INGetCarLockStatusIntent) async -> INGetCarLockStatusIntentResponse
```

## Parameters

`intent`

An intent object that contains the full details of the user’s request. The information in this object has already been resolved by your handler object.

`completion`

The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

- response: An [`INGetCarLockStatusIntentResponse`](/documentation/Intents/INGetCarLockStatusIntentResponse) object you create to report the current status of the car’s locks. This parameter must not be `nil`.

## Discussion

Your implementation of this method must access and return the current status of the car’s locks. If you are unable to access the data, return a response object whose result code indicates the reason for the failure.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)