Package io.ably.lib.objects.type.map
Class LiveMapUpdate
java.lang.Object
io.ably.lib.objects.type.ObjectUpdate
io.ably.lib.objects.type.map.LiveMapUpdate
Represents an update that occurred on a LiveMap object.
Contains information about which keys were modified and whether they were updated or removed.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates the type of change that occurred to a map key. -
Field Summary
Fields inherited from class io.ably.lib.objects.type.ObjectUpdate
update -
Constructor Summary
ConstructorsConstructorDescriptionCreates a no-op LiveMapUpdate representing no actual change.LiveMapUpdate(@NotNull Map<String, LiveMapUpdate.Change> update) Creates a LiveMapUpdate with the specified key changes. -
Method Summary
-
Constructor Details
-
LiveMapUpdate
public LiveMapUpdate()Creates a no-op LiveMapUpdate representing no actual change. -
LiveMapUpdate
Creates a LiveMapUpdate with the specified key changes.- Parameters:
-
update- map of key names to their change types (UPDATED or REMOVED)
-
-
Method Details