---
title: INGetCarLockStatusIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/ingetcarlockstatusintentresponse
---

# INGetCarLockStatusIntentResponse

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

## Declaration

```swift
class INGetCarLockStatusIntentResponse
```

## Overview

Overview Use an INGetCarLockStatusIntentResponse object to specify the result of a request for a car’s current lock status. You create instances of this class when confirming or handling a get lock status intent. Use this object to confirm that the request is valid and communicate whether the app retrieved the lock status, or to report any errors that occur. You create an INGetCarLockStatusIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INGetCarLockStatusIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/ingetcarlockstatusintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/ingetcarlockstatusintentresponse/code.md)
- [INGetCarLockStatusIntentResponseCode](intents/ingetcarlockstatusintentresponsecode.md)

### Providing the Locked Status

- [locked](intents/ingetcarlockstatusintentresponse/locked-357ju.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Get Car Lock Status

- [INGetCarLockStatusIntentHandling](intents/ingetcarlockstatusintenthandling.md)
- [INGetCarLockStatusIntent](intents/ingetcarlockstatusintent.md)
