Interface PresenceEntry

  • All Superinterfaces:
    Serializable

    public interface PresenceEntry
    extends Serializable
    A snapshot of a tracked view of a resource and its user. User-oriented queries may return one representative view per user; that representative can change while the user remains present. User-oriented results compare by resource and user ID; view-oriented results compare by resource and tracking ID. These comparison modes are distinct and remain fixed for the lifetime of the entry.
    Since:
    8.6.0
    • Method Detail

      • getTrackingId

        TrackingId getTrackingId()
        Returns the identifier of the tracked view.
        Returns:
        the tracking ID
        Since:
        8.6.0
      • getResourceKey

        ResourceKey getResourceKey()
        Returns the resource viewed by the user.
        Returns:
        the resource key
        Since:
        8.6.0
      • getUserInfo

        UserInfo getUserInfo()
        Returns the user associated with the tracked view.
        Returns:
        the user information
        Since:
        8.6.0