public final class

DimensionBuilders.WrappedDimensionProp

extends java.lang.Object

implements DimensionBuilders.ContainerDimension

 java.lang.Object

↳androidx.wear.protolayout.DimensionBuilders.WrappedDimensionProp

Overview

A type for a dimension that sizes itself to the size of its children (i.e. WRAP_CONTENT in Android parlance).

Summary

Methods
public static DimensionBuilders.WrappedDimensionPropfromProto(DimensionProto.WrappedDimensionProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public FingerprintgetFingerprint()

public DimensionBuilders.DpPropgetMinimumSize()

Gets the minimum size of this dimension.

public DimensionProto.ContainerDimensiontoContainerDimensionProto()

public java.lang.StringtoString()

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

Methods

public DimensionBuilders.DpProp getMinimumSize()

Gets the minimum size of this dimension. If not set, then there is no minimum size.

public Fingerprint getFingerprint()

Creates a new wrapper instance from the proto.

public DimensionProto.ContainerDimension toContainerDimensionProto()

public java.lang.String toString()