public final class

LayoutElementBuilders.FontWeightProp

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.LayoutElementBuilders.FontWeightProp

Overview

An extensible FontWeight property.

Summary

Methods
public static LayoutElementBuilders.FontWeightPropfromProto(LayoutElementProto.FontWeightProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public FingerprintgetFingerprint()

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

public intgetValue()

Gets the value.

public LayoutElementProto.FontWeightProptoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public int getValue()

Gets the value.

public Fingerprint getFingerprint()

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

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()