Model

public final class Model
extends Object

java.lang.Object
   ↳ androidx.car.app.hardware.info.Model


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

Summary

Nested classes

class Model.Builder

A builder of Model

Public methods

boolean equals(Object other)
CarValue<String> getManufacturer()

Returns the car manufacturer.

CarValue<String> getName()

Returns the car model name.

CarValue<Integer> getYear()

Returns the car model year.

int hashCode()
String toString()

Inherited methods

Public methods

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

getManufacturer

public CarValue<String> getManufacturer ()

Returns the car manufacturer.

Returns
CarValue<String>

getName

public CarValue<String> getName ()

Returns the car model name.

Returns
CarValue<String>

getYear

public CarValue<Integer> getYear ()

Returns the car model year.

Returns
CarValue<Integer>

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String