Class Profile

    • Constructor Summary

      Constructors 
      Constructor and Description
      Profile() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getDepartmentId()
      Gets department id of the department that this visitor is assigned to.
      java.lang.String getDisplayName()
      Gets display name of the visitor in the chat session
      java.lang.String getEmail()
      Gets email configured of the visitor in the chat session
      java.lang.String getMachineId()
      Gets machine id of the current chat session.
      java.lang.String getPhoneNumber()
      Gets phone number of the visitor in the chat session
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

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

      • Profile

        public Profile()
    • Method Detail

      • getMachineId

        public java.lang.String getMachineId()
        Gets machine id of the current chat session.

        It can be used to reconnect to the that chat session.

        Returns:
        machine id of the chat session
      • getEmail

        public java.lang.String getEmail()
        Gets email configured of the visitor in the chat session
        Returns:
        email address
      • getDisplayName

        public java.lang.String getDisplayName()
        Gets display name of the visitor in the chat session
        Returns:
        display name of the visitor
      • getPhoneNumber

        public java.lang.String getPhoneNumber()
        Gets phone number of the visitor in the chat session
        Returns:
        phone number of the visitor
      • getDepartmentId

        public java.lang.String getDepartmentId()
        Gets department id of the department that this visitor is assigned to.

        Departments are defined in LivechatDepartmentsPath

        Returns:
        id of the department
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object