Enum ZegoRangeAudioMode

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

    public enum ZegoRangeAudioMode
    extends java.lang.Enum<ZegoRangeAudioMode>
    Range audio mode
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      SECRET_TEAM
      Secret team mode, communicate with members of the team (with team members), can hear the voices of members who within the audio receive range (except the team members).
      TEAM
      Team mode, only communicate with members of the team.
      WORLD
      World mode, you can communicate with everyone in the room.
    • Enum Constant Detail

      • WORLD

        public static final ZegoRangeAudioMode WORLD
        World mode, you can communicate with everyone in the room.
      • TEAM

        public static final ZegoRangeAudioMode TEAM
        Team mode, only communicate with members of the team.
      • SECRET_TEAM

        public static final ZegoRangeAudioMode SECRET_TEAM
        Secret team mode, communicate with members of the team (with team members), can hear the voices of members who within the audio receive range (except the team members).
    • Method Detail

      • values

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

        public static ZegoRangeAudioMode 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()
      • getZegoRangeAudioMode

        public static ZegoRangeAudioMode getZegoRangeAudioMode​(int value)