- All Superinterfaces:
Listener
-
Method Summary
Modifier and TypeMethodDescriptionvoidonHistorySyncProgress(Whatsapp whatsapp, int percentage, boolean recent) Called when the socket receives the sync percentage for the full or recent chunk of messages.Methods inherited from interface it.auties.whatsapp.listener.Listener
onAboutChanged, onAboutChanged, onAction, onAction, onCall, onCall, onChatMessagesSync, onChatMessagesSync, onChats, onChats, onContactBlocked, onContactBlocked, onContactPresence, onContactPresence, onContacts, onContacts, onDisconnected, onDisconnected, onFeatures, onFeatures, onGroupPictureChanged, onGroupPictureChanged, onHistorySyncProgress, onLinkedDevices, onLinkedDevices, onLocaleChanged, onLocaleChanged, onLoggedIn, onLoggedIn, onMessageDeleted, onMessageDeleted, onMessageReply, onMessageReply, onMessageStatus, onMessageStatus, onMetadata, onMetadata, onNameChanged, onNameChanged, onNewContact, onNewContact, onNewMessage, onNewMessage, onNewsletters, onNewsletters, onNewStatus, onNewStatus, onNodeReceived, onNodeReceived, onNodeSent, onNodeSent, onPrivacySettingChanged, onPrivacySettingChanged, onProfilePictureChanged, onProfilePictureChanged, onProfilePictureChanged, onProfilePictureChanged, onRegistrationCode, onRegistrationCode, onSetting, onSetting, onSocketEvent, onSocketEvent, onStatus, onStatus
-
Method Details
-
onHistorySyncProgress
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:
onHistorySyncProgressin interfaceListener- Parameters:
whatsapp- an instance to the calling apipercentage- the percentage synced up to nowrecent- whether the sync is about the recent messages or older messages
-