FontReferenceType

enum FontReferenceType : ProtocolMessageEnum
Specifies types of references to font assets that are understood by the rendering system.
Protobuf enum elide.page.Context.Fonts.FontReferenceType

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Specifies a font hosted on Google Fonts.
GOOGLE_FONTS = 1;
Link copied to clipboard
Specifies an internal font, or an explicit set of font assets.
INTERNAL = 0;

Functions

Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Context.Fonts.FontReferenceType>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Context.Fonts.FontReferenceType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.