Class LivechatChatLogPath

  • All Implemented Interfaces:
    ObservableTrigger


    public class LivechatChatLogPath
    extends Path<java.util.LinkedHashMap<java.lang.String,ChatLog>>
    Chat log path definition

    Allows subscription to chat log broadcast updates and retrieval of the current chat event log. If there is nobody to listen this path it will not emit any broadcasts.

    See Also:
    ChatLog
    • Method Detail

      • getData

        public java.util.LinkedHashMap<java.lang.String,ChatLog> getData()
        Description copied from class: Path
        Gets the path data in it's current state
        Specified by:
        getData in class Path<java.util.LinkedHashMap<java.lang.String,ChatLog>>
        Returns:
        path data pojo object
      • countMessages

        public int countMessages(ChatLog.Type... types)
        Counts the number of messages of the specified ChatLog.Type types in the chat log LivechatChatLogPath
        Parameters:
        types - of the chat log messages to count
        Returns:
        count of the messages of specified types