Class VoiceStateUpdateHandler



  • public class VoiceStateUpdateHandler
    extends PacketHandler
    Handles the voice state update packet.
    • Constructor Detail

      • VoiceStateUpdateHandler

        public VoiceStateUpdateHandler​(DiscordApi api)
        Creates a new instance of this class.
        Parameters:
        api - The api.
    • Method Detail

      • handle

        public void handle​(com.fasterxml.jackson.databind.JsonNode packet)
        Description copied from class: PacketHandler
        This method is called by the super class to handle the packet.
        Specified by:
        handle in class PacketHandler
        Parameters:
        packet - The packet (the "d"-object).