Package im.zego.zegoexpress.constants
Enum ZegoFontType
- java.lang.Object
-
- java.lang.Enum<ZegoFontType>
-
- im.zego.zegoexpress.constants.ZegoFontType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoFontType>
public enum ZegoFontType extends java.lang.Enum<ZegoFontType>
Font type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALIBABA_SANS
Alibaba sans.HAPPY_ZCOOL
HappyZcool.PANG_MEN_ZHENG_DAO_TITLE
Pang men zheng dao title.SOURCE_HAN_SANS
Source han sans.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoFontType
getZegoFontType(int value)
int
value()
static ZegoFontType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoFontType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOURCE_HAN_SANS
public static final ZegoFontType SOURCE_HAN_SANS
Source han sans.
-
ALIBABA_SANS
public static final ZegoFontType ALIBABA_SANS
Alibaba sans.
-
PANG_MEN_ZHENG_DAO_TITLE
public static final ZegoFontType PANG_MEN_ZHENG_DAO_TITLE
Pang men zheng dao title.
-
HAPPY_ZCOOL
public static final ZegoFontType HAPPY_ZCOOL
HappyZcool.
-
-
Method Detail
-
values
public static ZegoFontType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZegoFontType c : ZegoFontType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoFontType valueOf(java.lang.String name)
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
getZegoFontType
public static ZegoFontType getZegoFontType(int value)
-
-