---
title: INListCarsIntent
framework: intents
role: symbol
role_heading: Class
path: intents/inlistcarsintent
---

# INListCarsIntent

An intent for retrieving a list of the user’s electric vehicles.

## Declaration

```swift
class INListCarsIntent
```

## Overview

Overview Maps creates instances of INListCarsIntent when it needs to display a list of the user’s electric vehicles, usually before or during route planning. To handle this intent, you create an object that conforms to the INListCarsIntentHandling protocol. The object handles, and optionally confirms, the request by providing an instance of INListCarsIntentResponse. The response contains an array of INCar objects, one for each of the user’s electric vehicles. Maps requires that each vehicle responds to INGetCarPowerLevelStatusIntent requests so that it can use the information the intent provides—current charge, battery capacity, distance remaining, and so forth—to more accurately plan the route.

## Topics

### Creating an Intent

- [init()](intents/inlistcarsintent/init().md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

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

## See Also

### List Cars

- [INListCarsIntentHandling](intents/inlistcarsintenthandling.md)
- [INListCarsIntentResponse](intents/inlistcarsintentresponse.md)
