Class ZegoSoundLevelInfo


  • public class ZegoSoundLevelInfo
    extends java.lang.Object
    Sound level info object.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float soundLevel
      Sound level value.
      int vad
      Whether the stream corresponding to StreamID contains voice, 0 means noise, 1 means normal voice.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • soundLevel

        public float soundLevel
        Sound level value.
      • vad

        public int vad
        Whether the stream corresponding to StreamID contains voice, 0 means noise, 1 means normal voice. This value is valid only when the [enableVAD] parameter in the [ZegoSoundLevelConfig] configuration is set to true when calling [startSoundLevelMonitor].
    • Constructor Detail

      • ZegoSoundLevelInfo

        public ZegoSoundLevelInfo()