Class ObjectUpdate

java.lang.Object
io.ably.lib.objects.type.ObjectUpdate
Direct Known Subclasses:
LiveCounterUpdate, LiveMapUpdate

public abstract class ObjectUpdate extends Object
Abstract base class for all LiveMap/LiveCounter update notifications. Provides common structure for updates that occur on LiveMap and LiveCounter objects. Contains the update data that describes what changed in the object. Spec: RTLO4b4
  • Field Details

    • update

      @Nullable protected final @Nullable Object update
      The update data containing details about the change that occurred Spec: RTLO4b4a
  • Constructor Details

    • ObjectUpdate

      protected ObjectUpdate(@Nullable @Nullable Object update)
      Creates a ObjectUpdate with the specified update data.
      Parameters:
      update - the data describing the change, or null for no-op updates