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.getOtherViews(@NotNull ResourceKey resourceKey,
@NotNull TrackingId trackingId) |
Returns the resource's current registrations excluding the given tracked view.
|
boolean |
PresenceService.heartbeat(@NotNull TrackingId trackingId) |
Keeps an existing registration alive, resetting its expiry.
|
boolean |
SessionMap.heartbeat(@NotNull TrackingId trackingId) |
Refreshes the registration identified by its unique tracking ID, regardless of its resource.
|
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) |
Removes one browser instance's registration for a resource.
|
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) |
Removes the registration identified by its unique tracking ID, regardless of its resource.
|
UserInfo |
SessionMap.unregister(@NotNull TrackingId trackingId,
@NotNull ResourceKey resourceKey) |
Removes the registration identified by its unique tracking ID and resource key.
|
void |
PresenceViewRegistry.unsubscribe(@NotNull TrackingId trackingId) |
Unregisters a browser view from receiving concurrent-edit events.
|