Enum ZegoAlphaLayoutType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ZegoAlphaLayoutType>

    public enum ZegoAlphaLayoutType
    extends java.lang.Enum<ZegoAlphaLayoutType>
    Alpha channel data layout.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BOTTOM
      Alpha channel data is to the bottom of RGB/YUV data.
      LEFT
      Alpha channel data is to the left of RGB/YUV data.
      NONE
      There is no alpha data.
      RIGHT
      Alpha channel data is to the right of RGB/YUV data.
      RIGHT_TOP
      Alpha channel data is to the upper right of RGB/YUV data.
    • Enum Constant Detail

      • LEFT

        public static final ZegoAlphaLayoutType LEFT
        Alpha channel data is to the left of RGB/YUV data.
      • RIGHT

        public static final ZegoAlphaLayoutType RIGHT
        Alpha channel data is to the right of RGB/YUV data.
      • BOTTOM

        public static final ZegoAlphaLayoutType BOTTOM
        Alpha channel data is to the bottom of RGB/YUV data.
      • RIGHT_TOP

        public static final ZegoAlphaLayoutType RIGHT_TOP
        Alpha channel data is to the upper right of RGB/YUV data.
    • Method Detail

      • values

        public static ZegoAlphaLayoutType[] 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 (ZegoAlphaLayoutType c : ZegoAlphaLayoutType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ZegoAlphaLayoutType 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()
      • getZegoAlphaLayoutType

        public static ZegoAlphaLayoutType getZegoAlphaLayoutType​(int value)