Interface HMSAudioListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onAudioLevelUpdate(Array<HMSSpeaker> speakers) Called when there are active speakers in the room.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onAudioLevelUpdate

         abstract Unit onAudioLevelUpdate(Array<HMSSpeaker> speakers)

        Called when there are active speakers in the room.

        Parameters:
        speakers -
        • List of HMSSpeaker{peer_id, level} sorted by audioLevel in descending order.