Package im.zego.zegoexpress.constants
Enum ZegoProcessedDataUsageType
- java.lang.Object
-
- java.lang.Enum<ZegoProcessedDataUsageType>
-
- im.zego.zegoexpress.constants.ZegoProcessedDataUsageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoProcessedDataUsageType>
public enum ZegoProcessedDataUsageType extends java.lang.Enum<ZegoProcessedDataUsageType>
Usage of Custom video processed data.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoProcessedDataUsageType
getZegoProcessedDataUsageType(int value)
int
value()
static ZegoProcessedDataUsageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoProcessedDataUsageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREVIEW
public static final ZegoProcessedDataUsageType PREVIEW
Preview.
-
PUBLISH
public static final ZegoProcessedDataUsageType PUBLISH
Publish.
-
BOTH
public static final ZegoProcessedDataUsageType BOTH
Both preview and publish.
-
-
Method Detail
-
values
public static ZegoProcessedDataUsageType[] 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 (ZegoProcessedDataUsageType c : ZegoProcessedDataUsageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoProcessedDataUsageType 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()
-
getZegoProcessedDataUsageType
public static ZegoProcessedDataUsageType getZegoProcessedDataUsageType(int value)
-
-