Contents

INCar

A specific electric vehicle that Maps uses during route planning and navigation.

Declaration

class INCar

Overview

An INCar object provides information about a specific electric vehicle that belongs to the user.

When planning a route, Maps may use an INListCarsIntent intent to ask your app to provide a list of the user’s electric vehicles. In your handler, determine which of the user’s vehicles respond to INGetCarPowerLevelStatusIntent, and create an instance of INCar for each. You then assign these instances to the cars property of your response object. When navigation begins using one of these vehicles, Maps regularly requests updates of the power level status using INGetCarPowerLevelStatusIntent.

For more information on handling INListCarsIntent, see INListCarsIntentHandling.

Topics

Creating a Car

Identifying the Car

Getting the Car’s Attributes

Getting the Car’s Head Unit

Getting the Car’s Supported Charging Connectors

Providing a Charging Connector’s Maximum Power

Initializers

See Also

Providing a List of Cars