Enum ZegoRangeAudioSpeakMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALL
      All mode, his voice can be heard by members of the team and by those within range.
      TEAM
      Only team mode, only members of the team can hear his voice (not restricted by range).
      WORLD
      Only world mode, only those within range can hear his voice.
    • Enum Constant Detail

      • ALL

        public static final ZegoRangeAudioSpeakMode ALL
        All mode, his voice can be heard by members of the team and by those within range.
      • WORLD

        public static final ZegoRangeAudioSpeakMode WORLD
        Only world mode, only those within range can hear his voice.
      • TEAM

        public static final ZegoRangeAudioSpeakMode TEAM
        Only team mode, only members of the team can hear his voice (not restricted by range).
    • Method Detail

      • values

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

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