Enum ZegoStreamResourceMode

    • Enum Constant Detail

      • DEFAULT

        public static final ZegoStreamResourceMode DEFAULT
        Default mode. The SDK will automatically select the streaming resource according to the cdnConfig parameters set by the player config and the ready-made background configuration.
      • CUSTOM

        public static final ZegoStreamResourceMode CUSTOM
        Custom mode. The SDK selects the streaming resource based on the customResourceConfig parameter of the streaming settings.
    • Method Detail

      • values

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

        public static ZegoStreamResourceMode 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()