Package im.zego.zegoexpress.constants
Enum ZegoVideoBufferType
- java.lang.Object
-
- java.lang.Enum<ZegoVideoBufferType>
-
- im.zego.zegoexpress.constants.ZegoVideoBufferType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoVideoBufferType>
public enum ZegoVideoBufferType extends java.lang.Enum<ZegoVideoBufferType>
Video frame buffer type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENCODED_DATA
Encoded data type video frameGL_TEXTURE_2D
Texture 2D type video frameGL_TEXTURE_2D_AND_RAW_DATA
Texture 2D and raw data type video frameGL_TEXTURE_EXTERNAL_OES
GL_TEXTURE_EXTERNAL_OES type video frameRAW_DATA
Raw data type video frameSURFACE_TEXTURE
Surface Texture type video frameUNKNOWN
Raw data type video frame
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoVideoBufferType
getZegoVideoBufferType(int value)
int
value()
static ZegoVideoBufferType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoVideoBufferType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ZegoVideoBufferType UNKNOWN
Raw data type video frame
-
RAW_DATA
public static final ZegoVideoBufferType RAW_DATA
Raw data type video frame
-
ENCODED_DATA
public static final ZegoVideoBufferType ENCODED_DATA
Encoded data type video frame
-
GL_TEXTURE_2D
public static final ZegoVideoBufferType GL_TEXTURE_2D
Texture 2D type video frame
-
SURFACE_TEXTURE
public static final ZegoVideoBufferType SURFACE_TEXTURE
Surface Texture type video frame
-
GL_TEXTURE_EXTERNAL_OES
public static final ZegoVideoBufferType GL_TEXTURE_EXTERNAL_OES
GL_TEXTURE_EXTERNAL_OES type video frame
-
GL_TEXTURE_2D_AND_RAW_DATA
public static final ZegoVideoBufferType GL_TEXTURE_2D_AND_RAW_DATA
Texture 2D and raw data type video frame
-
-
Method Detail
-
values
public static ZegoVideoBufferType[] 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 (ZegoVideoBufferType c : ZegoVideoBufferType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoVideoBufferType 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()
-
getZegoVideoBufferType
public static ZegoVideoBufferType getZegoVideoBufferType(int value)
-
-