public final class

CarZone.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.car.app.hardware.common.CarZone.Builder

Overview

A builder for instantiating CarZone.

Summary

Constructors
publicBuilder()

Methods
public CarZonebuild()

Constructs the CarZone defined by this builder.

public CarZone.BuildersetColumn(int column)

Sets the column value for the CarZone.

public CarZone.BuildersetRow(int row)

Sets the row value for the CarZone.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Methods

public CarZone.Builder setRow(int row)

Sets the row value for the CarZone.

The row value should be in the CarZoneRow list.

public CarZone.Builder setColumn(int column)

Sets the column value for the CarZone.

The column value should be in the CarZoneColumn list.

public CarZone build()

Constructs the CarZone defined by this builder.

CarZone.CAR_ZONE_ROW_ALL will be used by default if the row value is not set using CarZone.Builder.setRow(int). CarZone.CAR_ZONE_COLUMN_ALL will be used by default if the column value is not set CarZone.Builder.setColumn(int).