public final class

DimensionBuilders.DpProp

extends java.lang.Object

implements DimensionBuilders.ContainerDimension, DimensionBuilders.ImageDimension, DimensionBuilders.SpacerDimension

 java.lang.Object

↳androidx.wear.tiles.DimensionBuilders.DpProp

Overview

A type for linear dimensions, measured in dp.

Summary

Methods
public FingerprintgetFingerprint()

public floatgetValue()

Gets the value, in dp.

public DimensionProto.ContainerDimensiontoContainerDimensionProto()

public DimensionProto.ImageDimensiontoImageDimensionProto()

public DimensionProto.SpacerDimensiontoSpacerDimensionProto()

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

Methods

public float getValue()

Gets the value, in dp. Intended for testing purposes only.

public Fingerprint getFingerprint()

public DimensionProto.ContainerDimension toContainerDimensionProto()

public DimensionProto.ImageDimension toImageDimensionProto()

public DimensionProto.SpacerDimension toSpacerDimensionProto()