Enum ZegoAudioDataCallbackBitMask

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CAPTURED
      The mask bit of this field corresponds to the enable [onCapturedAudioData] callback function
      MIXED
      The mask bit of this field corresponds to the enable [onMixedAudioData] callback function
      PLAYBACK
      The mask bit of this field corresponds to the enable [onPlaybackAudioData] callback function
      PLAYER
      The mask bit of this field corresponds to the enable [onPlayerAudioData] callback function
    • Enum Constant Detail

      • CAPTURED

        public static final ZegoAudioDataCallbackBitMask CAPTURED
        The mask bit of this field corresponds to the enable [onCapturedAudioData] callback function
      • PLAYBACK

        public static final ZegoAudioDataCallbackBitMask PLAYBACK
        The mask bit of this field corresponds to the enable [onPlaybackAudioData] callback function
      • MIXED

        public static final ZegoAudioDataCallbackBitMask MIXED
        The mask bit of this field corresponds to the enable [onMixedAudioData] callback function
      • PLAYER

        public static final ZegoAudioDataCallbackBitMask PLAYER
        The mask bit of this field corresponds to the enable [onPlayerAudioData] callback function
    • Method Detail

      • values

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

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