Enum 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 Detail

      • 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 name
        java.lang.NullPointerException - if the argument is null
      • value

        public int value()
      • getZegoVideoBufferType

        public static ZegoVideoBufferType getZegoVideoBufferType​(int value)