Class PresenceWatcher


  • public class PresenceWatcher
    extends java.lang.Object
    Class representing either a remote user who is already tracking local user's presence, or a remote user who is asking for permission to track local user's presence.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getDisplayName()
      Returns the display name of the watcher.
      java.lang.String getPresenceAddress()
      Returns the presence address of the watcher.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getPresenceAddress

        public java.lang.String getPresenceAddress()
        Returns the presence address of the watcher.
        Returns:
        the presence address of the watcher.
      • getDisplayName

        public java.lang.String getDisplayName()
        Returns the display name of the watcher.
        Returns:
        the display name of the watcher.
      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object