Contents

INListCarsIntent

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

Declaration

class INListCarsIntent

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

See Also

List Cars