Package im.zego.zegoexpress.constants
Enum ZegoRoomTransparentMessageType
- java.lang.Object
-
- java.lang.Enum<ZegoRoomTransparentMessageType>
-
- im.zego.zegoexpress.constants.ZegoRoomTransparentMessageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoRoomTransparentMessageType>
public enum ZegoRoomTransparentMessageType extends java.lang.Enum<ZegoRoomTransparentMessageType>
Room mode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ZEGO_ROOM_TRANSPARENT_MESSAGE_NORMAL
Single room mode.ZEGO_ROOM_TRANSPARENT_MESSAGE_SEQUENCE
Multiple room mode.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoRoomTransparentMessageType
getZegoRoomTransparentMessageType(int value)
int
value()
static ZegoRoomTransparentMessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoRoomTransparentMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZEGO_ROOM_TRANSPARENT_MESSAGE_NORMAL
public static final ZegoRoomTransparentMessageType ZEGO_ROOM_TRANSPARENT_MESSAGE_NORMAL
Single room mode.
-
ZEGO_ROOM_TRANSPARENT_MESSAGE_SEQUENCE
public static final ZegoRoomTransparentMessageType ZEGO_ROOM_TRANSPARENT_MESSAGE_SEQUENCE
Multiple room mode.
-
-
Method Detail
-
values
public static ZegoRoomTransparentMessageType[] 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 (ZegoRoomTransparentMessageType c : ZegoRoomTransparentMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoRoomTransparentMessageType 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()
-
getZegoRoomTransparentMessageType
public static ZegoRoomTransparentMessageType getZegoRoomTransparentMessageType(int value)
-
-