CarAppApiLevels

public final class CarAppApiLevels


API levels supported by this library.

Each level denotes a set of elements (classes, fields and methods) known to both clients and hosts.

See also
getCarAppApiLevel
<a href="https://developer.android.com/jetpack/androidx/releases/car-app">Car App Library Release Notes</a>

Summary

Constants

static final int

Initial API level.

static final int

API level 2.

static final int

API level 3.

static final int

API level 4.

static final int

API level 5.

static final int

API level 6.

static final int

API level 7.

Public methods

static int

Returns the highest API level implemented by this library.

static int

Returns the lowest API level implemented by this library.

Constants

LEVEL_1

Added in 1.0.0
public static final int LEVEL_1 = 1

Initial API level.

Includes core API services and managers, and templates for parking, charging, and navigation apps.

LEVEL_2

Added in 1.1.0
public static final int LEVEL_2 = 2

API level 2.

Includes features such as sign-in template, long-message template, and multi-variant text support.

LEVEL_3

Added in 1.1.0
public static final int LEVEL_3 = 3

API level 3.

Includes a car hardware manager for access to sensors and other vehicle properties.

LEVEL_4

Added in 1.1.0
public static final int LEVEL_4 = 4

API level 4.

Includes AAOS support and other features such as QR code sign-in, show current location in place-list-map template, contrast check capability.

LEVEL_5

Added in 1.3.0
public static final int LEVEL_5 = 5

API level 5.

Includes features such as voice access, alerters, map-pane template details view, responsive-turn-cards, tap on map, list within the navigation template for non-places content, map interactivity (zoom and pan) on POIs and route preview, content refresh on POIs (with speedbump).

LEVEL_6

Added in 1.3.0
public static final int LEVEL_6 = 6

API level 6.

LEVEL_7

Added in 1.4.0-rc02
public static final int LEVEL_7 = 7

API level 7.

Includes a Badge feature for GridItem image.

Public methods

getLatest

Added in 1.0.0
public static int getLatest()

Returns the highest API level implemented by this library.

getOldest

Added in 1.0.0
public static int getOldest()

Returns the lowest API level implemented by this library.