Set<PresenceEntry> |
PresenceService.getCurrentUsers(@NotNull ResourceKey resourceKey) |
Returns the resource's current registrations, one entry per tracked view.
|
Set<PresenceEntry> |
PresenceService.getOtherMembers(@NotNull ResourceKey resourceKey,
@NotNull UserId userId,
@NotNull TrackingId trackingId) |
Returns other registrations according to the configured tracking strategy.
|
Set<PresenceEntry> |
PresenceService.getOtherUsers(@NotNull ResourceKey resourceKey,
@NotNull UserId userId) |
Returns one representative registration for each user on the resource, excluding the given user.
|
Set<PresenceEntry> |
PresenceService.getOtherViews(@NotNull ResourceKey resourceKey,
@NotNull TrackingId trackingId) |
Returns the resource's current registrations excluding the given tracked view.
|
void |
PresenceService.register(@NotNull TrackingId trackingId,
@NotNull ResourceKey resourceKey,
@NotNull UserInfo user) |
Registers or refreshes one browser instance's presence for a resource.
|
void |
SessionMap.register(@NotNull TrackingId trackingId,
@NotNull ResourceKey resourceKey,
@NotNull UserInfo entry) |
Registers or refreshes one browser instance's presence for a resource.
|
void |
PresenceViewRegistry.subscribe(@NotNull TrackingId trackingId,
@NotNull ResourceKey resourceKey) |
Registers a browser view to receive concurrent-edit events for the given resource key.
|
void |
PresenceService.unregister(@NotNull TrackingId trackingId,
@NotNull ResourceKey resourceKey) |
Removes one browser instance's registration for the given resource.
|
UserInfo |
SessionMap.unregister(@NotNull TrackingId trackingId,
@NotNull ResourceKey resourceKey) |
Removes the registration identified by its unique tracking ID and resource key.
|