Package im.zego.zegoexpress.constants
Enum ZegoMixImageCheckMode
- java.lang.Object
-
- java.lang.Enum<ZegoMixImageCheckMode>
-
- im.zego.zegoexpress.constants.ZegoMixImageCheckMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoMixImageCheckMode>
public enum ZegoMixImageCheckMode extends java.lang.Enum<ZegoMixImageCheckMode>
Mixed stream sets the image parameter check mode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NORMAL
Strictly perform image verification, set the background image, watermark will verify the image path, the image occupy set in the mixed flow input parameter will also verify whether the set image resource request is successful, in order to normally initiate mixed flow, otherwise fail to initiate mixed flow.NOTHING
The mixed flow can be initiated successfully without checking the related parameters of the picture.PATH
Only verify image path URI/URL As long as the path is correct, the mixed flow is successfully initiated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoMixImageCheckMode
getZegoMixImageCheckMode(int value)
int
value()
static ZegoMixImageCheckMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoMixImageCheckMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final ZegoMixImageCheckMode NORMAL
Strictly perform image verification, set the background image, watermark will verify the image path, the image occupy set in the mixed flow input parameter will also verify whether the set image resource request is successful, in order to normally initiate mixed flow, otherwise fail to initiate mixed flow.
-
PATH
public static final ZegoMixImageCheckMode PATH
Only verify image path URI/URL As long as the path is correct, the mixed flow is successfully initiated.
-
NOTHING
public static final ZegoMixImageCheckMode NOTHING
The mixed flow can be initiated successfully without checking the related parameters of the picture.
-
-
Method Detail
-
values
public static ZegoMixImageCheckMode[] 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 (ZegoMixImageCheckMode c : ZegoMixImageCheckMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoMixImageCheckMode 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()
-
getZegoMixImageCheckMode
public static ZegoMixImageCheckMode getZegoMixImageCheckMode(int value)
-
-