Class Presence

    • Constructor Detail

      • Presence

        public Presence()
    • Method Detail

      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)
        Set the service registry
        Parameters:
        serviceRegistry - the service registry
      • hasPresence

        public boolean hasPresence​(ScriptNode person)
        Gets whether the Person has configured Presence parameters
        Parameters:
        person - the person to query
        Returns:
        true if this person is configured for presence
      • getDetails

        public String getDetails​(ScriptNode person)
        Query current online status of given person
        Parameters:
        person - the person to query
        Returns:
        string indicating online presence status