Interface RoomObserver.SyncListener

Enclosing interface:
RoomObserver

public static interface RoomObserver.SyncListener
Listener called when a batch of changes are synchronized.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changesSynchronized(int peerId)
    Invoked after changes made by an user were synchronized with the observer's state.
  • Method Details

    • changesSynchronized

      void changesSynchronized(int peerId)
      Invoked after changes made by an user were synchronized with the observer's state.
      Parameters:
      peerId - The peer ID of that user. This ID can be used as a parameter for Room.getPeerContext(int) implementation to obtain contextual details about the user.