DimensionBuilders.DpProp.Builder

public static final class DimensionBuilders.DpProp.Builder
extends Object implements DimensionBuilders.ContainerDimension.Builder, DimensionBuilders.ImageDimension.Builder, DimensionBuilders.SpacerDimension.Builder

java.lang.Object
   ↳ androidx.wear.tiles.builders.DimensionBuilders.DpProp.Builder


Builder for DimensionBuilders.DpProp.

Summary

Public methods

DimensionBuilders.DpProp build()

Builds an instance with values accumulated in this Builder.

DimensionBuilders.DpProp.Builder setValue(float value)

Sets the value, in dp.

Inherited methods

Public methods

build

public DimensionBuilders.DpProp build ()

Builds an instance with values accumulated in this Builder.

Returns
DimensionBuilders.DpProp

setValue

public DimensionBuilders.DpProp.Builder setValue (float value)

Sets the value, in dp.

Parameters
value float

Returns
DimensionBuilders.DpProp.Builder