Class Presence


  • public class Presence
    extends Event<PresenceContent>
    Informs the client of a user's presence state change.
    • Field Detail

      • sender

        private String sender
        Required. Contains the fully-qualified ID of the user who sent this event.
    • Constructor Detail

      • Presence

        public Presence()
    • Method Detail

      • getSender

        public String getSender()
      • setSender

        public void setSender​(String sender)
      • getType

        public String getType()
        Description copied from class: Event
        Required. The type of event. This SHOULD be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.
        Specified by:
        getType in class Event<PresenceContent>
        Returns:
        The type of the event.