Interface OnHistorySyncProgress

All Superinterfaces:
Listener

public interface OnHistorySyncProgress extends Listener
  • Method Details

    • onHistorySyncProgress

      void onHistorySyncProgress(int percentage, boolean recent)
      Called when the socket receives the sync percentage for the full or recent chunk of messages. This method is only called when the QR is first scanned and history is being synced.
      Specified by:
      onHistorySyncProgress in interface Listener
      Parameters:
      percentage - the percentage synced up to now
      recent - whether the sync is about the recent messages or older messages