public final class

TabsConstraints.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.car.app.model.constraints.TabsConstraints.Builder

Overview

A builder of TabsConstraints.

Summary

Constructors
publicBuilder()

Methods
public TabsConstraintsbuild()

Constructs the TabsConstraints defined by this builder.

public TabsConstraints.BuildersetMaxTabs(int maxTabs)

Sets the maximum number of tabs allowed to be added.

public TabsConstraints.BuildersetMinTabs(int minTabs)

Sets the minimum number of tabs required to be added.

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

Constructors

public Builder()

Methods

public TabsConstraints.Builder setMaxTabs(int maxTabs)

Sets the maximum number of tabs allowed to be added.

public TabsConstraints.Builder setMinTabs(int minTabs)

Sets the minimum number of tabs required to be added.

public TabsConstraints build()

Constructs the TabsConstraints defined by this builder.