Enum ZegoTrafficControlFocusOnMode

    • Enum Constant Detail

      • ZEGO_TRAFFIC_CONTROL_FOUNS_ON_LOCAL_ONLY

        public static final ZegoTrafficControlFocusOnMode ZEGO_TRAFFIC_CONTROL_FOUNS_ON_LOCAL_ONLY
        Focus only on the local network
      • ZEGO_TRAFFIC_CONTROL_FOUNS_ON_REMOTE

        public static final ZegoTrafficControlFocusOnMode ZEGO_TRAFFIC_CONTROL_FOUNS_ON_REMOTE
        Pay attention to the local network, but also take into account the remote network, currently only effective in the 1v1 scenario
    • Method Detail

      • values

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

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