CarZone.Builder


class CarZone.Builder


A builder for instantiating CarZone.

Summary

Public constructors

Public functions

CarZone

Constructs the CarZone defined by this builder.

CarZone.Builder
setColumn(column: Int)

Sets the column value for the CarZone.

CarZone.Builder
setRow(row: Int)

Sets the row value for the CarZone.

Public constructors

Builder

Added in 1.3.0
Builder()

Public functions

build

Added in 1.3.0
fun build(): CarZone

Constructs the CarZone defined by this builder.

CAR_ZONE_ROW_ALL will be used by default if the row value is not set using setRow. CAR_ZONE_COLUMN_ALL will be used by default if the column value is not set setColumn.

setColumn

Added in 1.3.0
fun setColumn(column: Int): CarZone.Builder

Sets the column value for the CarZone.

The column value should be in the CarZoneColumn list.

setRow

Added in 1.3.0
fun setRow(row: Int): CarZone.Builder

Sets the row value for the CarZone.

The row value should be in the CarZoneRow list.