Package 

Class ChatEventHandlerFactory

  • All Implemented Interfaces:

    
    public class ChatEventHandlerFactory
    
                        

    A ChatEventHandler factory. Allows to create chat event handler instance with visible channels map.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ChatEventHandler chatEventHandler(StateFlow<Map<String, Channel>> channels) Creates a ChatEventHandler instance.
      • Methods inherited from class java.lang.Object

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

      • ChatEventHandlerFactory

        ChatEventHandlerFactory(ClientState clientState)
        Parameters:
        clientState - The client used to obtain current user.
    • Method Detail

      • chatEventHandler

         ChatEventHandler chatEventHandler(StateFlow<Map<String, Channel>> channels)

        Creates a ChatEventHandler instance.

        Parameters:
        channels - The visible channels map.