Interface OnWhatsappHistorySyncProgress

All Superinterfaces:
Listener

public interface OnWhatsappHistorySyncProgress extends Listener
  • Method Details

    • onHistorySyncProgress

      void onHistorySyncProgress(Whatsapp whatsapp, 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:
      whatsapp - an instance to the calling api
      percentage - the percentage synced up to now
      recent - whether the sync is about the recent messages or older messages