CarAppApiLevels


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

const Int

Initial API level.

const Int

API level 2.

const Int

API level 3.

const Int

API level 4.

const Int

API level 5.

const Int

API level 6.

const Int

API level 7.

const Int

API level 8.

Public functions

java-static Int

Returns the highest API level implemented by this library.

java-static Int

Returns the lowest API level implemented by this library.

Constants

LEVEL_1

Added in 1.0.0
const val LEVEL_1 = 1: Int

Initial API level.

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

LEVEL_2

Added in 1.1.0
const val LEVEL_2 = 2: Int

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
const val LEVEL_3 = 3: Int

API level 3.

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

LEVEL_4

Added in 1.1.0
const val LEVEL_4 = 4: Int

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
const val LEVEL_5 = 5: Int

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
const val LEVEL_6 = 6: Int

API level 6.

LEVEL_7

Added in 1.4.0
const val LEVEL_7 = 7: Int

API level 7.

Includes a Badge feature for GridItem image.

LEVEL_8

Added in 1.7.0-beta03
const val LEVEL_8 = 8: Int

API level 8.

Public functions

getLatest

Added in 1.0.0
java-static fun getLatest(): Int

Returns the highest API level implemented by this library.

getOldest

Added in 1.0.0
java-static fun getOldest(): Int

Returns the lowest API level implemented by this library.