Model


@CarProtocol
@RequiresCarApi(value = 3)
class Model


Information about the androidx.car.app.hardware model such as name, year and manufacturer.

Summary

Nested types

A builder of Model.

Public functions

Boolean
equals(other: Any?)
CarValue<String!>

Returns the car manufacturer.

CarValue<String!>

Returns the car model name.

CarValue<Int!>

Returns the car model year.

Int
String

Public functions

equals

fun equals(other: Any?): Boolean

getManufacturer

Added in 1.1.0
fun getManufacturer(): CarValue<String!>

Returns the car manufacturer.

getName

Added in 1.1.0
fun getName(): CarValue<String!>

Returns the car model name.

getYear

Added in 1.1.0
fun getYear(): CarValue<Int!>

Returns the car model year.

hashCode

fun hashCode(): Int

toString

fun toString(): String