public enum

LayoutElementProto.FontWeight

extends java.lang.Enum<LayoutElementProto.FontWeight>

 java.lang.Object

↳java.lang.Enum<LayoutElementProto.FontWeight>

↳androidx.wear.protolayout.proto.LayoutElementProto.FontWeight

Overview

 The weight to be applied to the font.
 
Protobuf enum androidx.wear.protolayout.proto.FontWeight

Summary

Enum Constants
FONT_WEIGHT_BOLD
 Bold font weight.
FONT_WEIGHT_MEDIUM
 Medium font weight.
FONT_WEIGHT_NORMAL
 Normal font weight.
FONT_WEIGHT_UNDEFINED
 Font weight is undefined.
UNRECOGNIZED
Fields
public static final intFONT_WEIGHT_BOLD_VALUE

 Bold font weight.

public static final intFONT_WEIGHT_MEDIUM_VALUE

 Medium font weight.

public static final intFONT_WEIGHT_NORMAL_VALUE

 Normal font weight.

public static final intFONT_WEIGHT_UNDEFINED_VALUE

 Font weight is undefined.

Methods
public static LayoutElementProto.FontWeightforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()

public static LayoutElementProto.FontWeightvalueOf(int value)

public static LayoutElementProto.FontWeightvalueOf(java.lang.String name)

public static LayoutElementProto.FontWeightvalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

FONT_WEIGHT_UNDEFINED

 Font weight is undefined.
 
FONT_WEIGHT_UNDEFINED = 0;

FONT_WEIGHT_NORMAL

 Normal font weight.
 
FONT_WEIGHT_NORMAL = 400;

FONT_WEIGHT_MEDIUM

 Medium font weight.
 
FONT_WEIGHT_MEDIUM = 500;

FONT_WEIGHT_BOLD

 Bold font weight.
 
FONT_WEIGHT_BOLD = 700;

UNRECOGNIZED

Fields

public static final int FONT_WEIGHT_UNDEFINED_VALUE

 Font weight is undefined.
 
FONT_WEIGHT_UNDEFINED = 0;

public static final int FONT_WEIGHT_NORMAL_VALUE

 Normal font weight.
 
FONT_WEIGHT_NORMAL = 400;

public static final int FONT_WEIGHT_MEDIUM_VALUE

 Medium font weight.
 
FONT_WEIGHT_MEDIUM = 500;

public static final int FONT_WEIGHT_BOLD_VALUE

 Bold font weight.
 
FONT_WEIGHT_BOLD = 700;

Methods

public static LayoutElementProto.FontWeight values()

public static LayoutElementProto.FontWeight valueOf(java.lang.String name)

public final int getNumber()

public static LayoutElementProto.FontWeight valueOf(int value)

Deprecated: Use LayoutElementProto.FontWeight.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static LayoutElementProto.FontWeight forNumber(int value)

public static <any> internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()