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

        public int value()