Package im.zego.zegoexpress.constants
Enum ZegoVideoFlipMode
- java.lang.Object
-
- java.lang.Enum<ZegoVideoFlipMode>
-
- im.zego.zegoexpress.constants.ZegoVideoFlipMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoVideoFlipMode>
public enum ZegoVideoFlipMode extends java.lang.Enum<ZegoVideoFlipMode>
Video frame flip mode.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoVideoFlipMode
getZegoVideoFlipMode(int value)
int
value()
static ZegoVideoFlipMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoVideoFlipMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ZegoVideoFlipMode NONE
No flip
-
X
public static final ZegoVideoFlipMode X
X-axis flip
-
Y
public static final ZegoVideoFlipMode Y
Y-axis flip
-
XY
public static final ZegoVideoFlipMode XY
X-Y-axis flip
-
-
Method Detail
-
values
public static ZegoVideoFlipMode[] 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 (ZegoVideoFlipMode c : ZegoVideoFlipMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoVideoFlipMode 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()
-
getZegoVideoFlipMode
public static ZegoVideoFlipMode getZegoVideoFlipMode(int value)
-
-