public final class

DimensionBuilders.SpProp

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.DimensionBuilders.SpProp

Overview

A type for font sizes, measured in sp.

Summary

Methods
public static DimensionBuilders.SpPropfromProto(DimensionProto.SpProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public FingerprintgetFingerprint()

Get the fingerprint for this object, or null if unknown.

public floatgetValue()

Gets the value, in sp.

public DimensionProto.SpProptoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public float getValue()

Gets the value, in sp.

public Fingerprint getFingerprint()

Get the fingerprint for this object, or null if unknown.

public static DimensionBuilders.SpProp fromProto(DimensionProto.SpProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public DimensionProto.SpProp toProto()

Returns the internal proto instance.

public java.lang.String toString()