- All Superinterfaces:
Listener
public interface OnWhatsappNameChanged
extends Listener
-
Method Summary
void
Called when the companion's name changes
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, onHistorySyncProgress, onLinkedDevices, onLinkedDevices, onLocaleChanged, onLocaleChanged, onLoggedIn, onLoggedIn, onMessageDeleted, onMessageDeleted, onMessageReply, onMessageReply, onMessageStatus, onMessageStatus, onMetadata, onMetadata, 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
-
onNameChanged
Called when the companion's name changes
- Specified by:
onNameChanged in interface Listener
- Parameters:
whatsapp - an instance to the calling api
oldName - the non-null old name
newName - the non-null new name