Interface ServerVoiceChannelAttachableListenerManager

    • Method Detail

      • getServerVoiceChannelMemberLeaveListeners

        List<ServerVoiceChannelMemberLeaveListener> getServerVoiceChannelMemberLeaveListeners​()
        Gets a list with all registered ServerVoiceChannelMemberLeaveListeners.
        Returns:
        A list with all registered ServerVoiceChannelMemberLeaveListeners.
      • getServerVoiceChannelChangeUserLimitListeners

        List<ServerVoiceChannelChangeUserLimitListener> getServerVoiceChannelChangeUserLimitListeners​()
        Gets a list with all registered ServerVoiceChannelChangeUserLimitListeners.
        Returns:
        A list with all registered ServerVoiceChannelChangeUserLimitListeners.
      • getServerVoiceChannelChangeBitrateListeners

        List<ServerVoiceChannelChangeBitrateListener> getServerVoiceChannelChangeBitrateListeners​()
        Gets a list with all registered ServerVoiceChannelChangeBitrateListeners.
        Returns:
        A list with all registered ServerVoiceChannelChangeBitrateListeners.
      • getServerVoiceChannelMemberJoinListeners

        List<ServerVoiceChannelMemberJoinListener> getServerVoiceChannelMemberJoinListeners​()
        Gets a list with all registered ServerVoiceChannelMemberJoinListeners.
        Returns:
        A list with all registered ServerVoiceChannelMemberJoinListeners.
      • addServerVoiceChannelAttachableListener

        <T extends ServerVoiceChannelAttachableListener & ObjectAttachableListenerCollection<ListenerManager<? extends ServerVoiceChannelAttachableListener>> addServerVoiceChannelAttachableListener​(T listener)
        Adds a listener that implements one or more ServerVoiceChannelAttachableListeners. Adding a listener multiple times will only add it once and return the same listener managers on each invocation. The order of invocation is according to first addition.
        Type Parameters:
        T - The type of the listener.
        Parameters:
        listener - The listener to add.
        Returns:
        The managers for the added listener.
      • removeServerVoiceChannelAttachableListener

        <T extends ServerVoiceChannelAttachableListener & ObjectAttachableListener> void removeServerVoiceChannelAttachableListener​(T listener)
        Removes a listener that implements one or more ServerVoiceChannelAttachableListeners.
        Type Parameters:
        T - The type of the listener.
        Parameters:
        listener - The listener to remove.
      • getServerVoiceChannelAttachableListeners

        <T extends ServerVoiceChannelAttachableListener & ObjectAttachableListenerMap<T,List<Class<T>>> getServerVoiceChannelAttachableListeners​()
        Gets a map with all registered listeners that implement one or more ServerVoiceChannelAttachableListeners and their assigned listener classes they listen to.
        Type Parameters:
        T - The type of the listeners.
        Returns:
        A map with all registered listeners that implement one or more ServerVoiceChannelAttachableListeners and their assigned listener classes they listen to.