Uses of Class
it.auties.whatsapp.api.Whatsapp
Packages that use Whatsapp
-
Uses of Whatsapp in it.auties.whatsapp.api
Fields in it.auties.whatsapp.api declared as WhatsappModifier and TypeFieldDescriptionprivate final WhatsappMobileRegistrationBuilder.RegisteredResult.whatsappThe field for thewhatsapprecord component.private WhatsappWebOptionsBuilder.whatsappFields in it.auties.whatsapp.api with type parameters of type WhatsappMethods in it.auties.whatsapp.api that return WhatsappModifier and TypeMethodDescriptionWhatsapp.addAboutChangedListener(OnUserAboutChanged onUserAboutChanged) Registers a status change listenerWhatsapp.addAboutChangedListener(OnWhatsappAboutChanged onUserStatusChange) Registers a status change listenerWhatsapp.addActionListener(OnAction onAction) Registers an action listenerWhatsapp.addActionListener(OnWhatsappAction onAction) Registers an action listenerWhatsapp.addCallListener(OnCall onCall) Registers a call listenerWhatsapp.addCallListener(OnWhatsappCall onWhatsappCall) Registers a call listenerWhatsapp.addChatMessagesSyncListener(OnChatMessagesSync onChatRecentMessages) Registers a chat recent messages listenerWhatsapp.addChatMessagesSyncListener(OnWhatsappChatMessagesSync onChatRecentMessages) Registers a chat recent messages listenerWhatsapp.addChatsListener(OnChats onChats) Registers a chats listenerWhatsapp.addChatsListener(OnWhatsappChats onChats) Registers a chats listenerWhatsapp.addContactBlockedListener(OnContactBlocked onContactBlocked) Registers a contact blocked listenerWhatsapp.addContactBlockedListener(OnWhatsappContactBlocked onContactBlocked) Registers a contact blocked listenerWhatsapp.addContactPictureChangedListener(OnContactPictureChanged onContactPictureChanged) Registers a profile picture listenerWhatsapp.addContactPictureChangedListener(OnWhatsappContactPictureChanged onProfilePictureChange) Registers a profile picture listenerWhatsapp.addContactPresenceListener(OnContactPresence onContactPresence) Registers a contact presence listenerWhatsapp.addContactPresenceListener(OnWhatsappContactPresence onContactPresence) Registers a contact presence listenerWhatsapp.addContactsListener(OnContacts onContacts) Registers a contacts listenerWhatsapp.addContactsListener(OnWhatsappContacts onContacts) Registers a contacts listenerWhatsapp.addDisconnectedListener(OnDisconnected onDisconnected) Registers a disconnected listenerWhatsapp.addDisconnectedListener(OnWhatsappDisconnected onDisconnected) Registers a disconnected listenerWhatsapp.addFeaturesListener(OnFeatures onFeatures) Registers a features listenerWhatsapp.addFeaturesListener(OnWhatsappFeatures onFeatures) Registers a features listenerWhatsapp.addGroupPictureChangedListener(OnGroupPictureChange onGroupPictureChange) Registers a group picture listenerWhatsapp.addGroupPictureChangedListener(OnWhatsappGroupPictureChange onGroupPictureChange) Registers a group picture listenerWhatsapp.addHistorySyncProgressListener(OnHistorySyncProgress onSyncProgress) Registers a sync progress listenerWhatsapp.addHistorySyncProgressListener(OnWhatsappHistorySyncProgress onSyncProgress) Registers a sync progress listenerWhatsapp.addLinkedDevicesListener(OnLinkedDevices onLinkedDevices) Registers a companion devices changed listenerWhatsapp.addLinkedDevicesListener(OnWhatsappLinkedDevices onWhatsappLinkedDevices) Registers a companion devices changed listenerWhatsapp.addListener(Listener listener) Registers a listenerWhatsapp.addLoggedInListener(OnLoggedIn onLoggedIn) Registers a logged in listenerWhatsapp.addLoggedInListener(OnWhatsappLoggedIn onLoggedIn) Registers a logged in listenerWhatsapp.addMediaStatusListener(OnStatus onMediaStatus) Registers a status listenerWhatsapp.addMediaStatusListener(OnWhatsappMediaStatus onStatus) Registers a status listenerWhatsapp.addMessageDeletedListener(OnMessageDeleted onMessageDeleted) Registers a message deleted listenerWhatsapp.addMessageDeletedListener(OnWhatsappMessageDeleted onMessageDeleted) Registers a message deleted listenerWhatsapp.addMessageReplyListener(OnMessageReply onMessageReply) Registers a message reply listenerWhatsapp.addMessageReplyListener(OnWhatsappMessageReply onMessageReply) Registers a message reply listenerWhatsapp.addMessageReplyListener(ChatMessageInfo info, OnMessageReply onMessageReply) Registers a message reply listener for a specific messageWhatsapp.addMessageReplyListener(ChatMessageInfo info, OnWhatsappMessageReply onMessageReply) Registers a message reply listener for a specific messageWhatsapp.addMessageReplyListener(String id, OnMessageReply onMessageReply) Registers a message reply listener for a specific messageWhatsapp.addMessageReplyListener(String id, OnWhatsappMessageReply onMessageReply) Registers a message reply listener for a specific messageWhatsapp.addMessageStatusListener(OnMessageStatus onAnyMessageStatus) Registers a message status listenerWhatsapp.addMessageStatusListener(OnWhatsappMessageStatus onMessageStatus) Registers a message status listenerWhatsapp.addMetadataListener(OnMetadata onMetadata) Registers a metadata listenerWhatsapp.addMetadataListener(OnWhatsappMetadata onMetadata) Registers a metadata listenerWhatsapp.addNameChangedListener(OnUserNameChanged onUserNameChanged) Registers a name change listenerWhatsapp.addNameChangedListener(OnWhatsappNameChanged onNameChange) Registers a name change listenerWhatsapp.addNewChatMessageListener(OnNewMessage onNewMessage) Registers a new message listenerWhatsapp.addNewChatMessageListener(OnWhatsappNewMessage onNewMessage) Registers a new message listenerWhatsapp.addNewContactListener(OnNewContact onNewContact) Registers a new contact listenerWhatsapp.addNewslettersListener(OnNewsletters onNewsletters) Registers a newsletters listenerWhatsapp.addNewslettersListener(OnWhatsappNewsletters onNewsletters) Registers a newsletters listenerWhatsapp.addNewStatusListener(OnNewStatus onNewMediaStatus) Registers a new status listenerWhatsapp.addNewStatusListener(OnWhatsappNewStatus onNewStatus) Registers a new status listenerWhatsapp.addNodeReceivedListener(OnNodeReceived onNodeReceived) Registers a received node listenerWhatsapp.addNodeReceivedListener(OnWhatsappNodeReceived onNodeReceived) Registers a received node listenerWhatsapp.addNodeSentListener(OnNodeSent onNodeSent) Registers a sent node listenerWhatsapp.addNodeSentListener(OnWhatsappNodeSent onNodeSent) Registers a sent node listenerWhatsapp.addPrivacySettingChangedListener(OnPrivacySettingChanged onPrivacySettingChanged) Registers a privacy setting changed listenerWhatsapp.addPrivacySettingChangedListener(OnWhatsappPrivacySettingChanged onWhatsappPrivacySettingChanged) Registers a privacy setting changed listenerWhatsapp.addRegistrationCodeListener(OnRegistrationCode onRegistrationCode) Registers a registration code listener for the mobile apiWhatsapp.addRegistrationCodeListener(OnWhatsappRegistrationCode onWhatsappRegistrationCode) Registers a registration code listener for the mobile apiWhatsapp.addSettingListener(OnSetting onSetting) Registers a setting listenerWhatsapp.addSettingListener(OnWhatsappSetting onSetting) Registers a setting listenerWhatsapp.addSocketEventListener(OnSocketEvent onSocketEvent) Registers an event listenerWhatsapp.addSocketEventListener(OnWhatsappSocketEvent onSocketEvent) Registers an event listenerWhatsapp.addUserPictureChangedListener(OnProfilePictureChanged onProfilePictureChanged) Registers a picture change listenerWhatsapp.addUserPictureChangedListener(OnWhatsappProfilePictureChanged onUserPictureChange) Registers a picture change listenerWhatsappCustomBuilder.build()Whatsapp.removeListener(Listener listener) Unregisters a listenerWhatsapp.setResponse(RegistrationResponse response) WebOptionsBuilder.unregistered(long phoneNumber, PairingCodeHandler pairingCodeHandler) Creates a Whatsapp instance with an OTP handlerWebOptionsBuilder.unregistered(QrHandler qrHandler) Creates a Whatsapp instance with a qr handlerMobileRegistrationBuilder.RegisteredResult.whatsapp()Returns the value of thewhatsapprecord component.Methods in it.auties.whatsapp.api that return types with arguments of type WhatsappModifier and TypeMethodDescriptionWhatsapp.connect()Connects to WhatsappWhatsapp.getInstanceByUuid(UUID uuid) MobileOptionsBuilder.registered()Expects the session to be already registered This means that the verification code has already been sent to Whatsapp If this is not the case, an exception will be thrownWebOptionsBuilder.registered()Creates a Whatsapp instance with no handlers This method assumes that you have already logged in using a QR code or OTP Otherwise, it returns an empty optional.Whatsapp.unlinkDevice(Jid companion) Unlinks a specific companionWhatsapp.unlinkDevices()Unlinks all the companions of this deviceConstructors in it.auties.whatsapp.api with parameters of type WhatsappModifierConstructorDescriptionRegisteredResult(Whatsapp whatsapp, Optional<RegistrationResponse> response) Creates an instance of aRegisteredResultrecord class. -
Uses of Whatsapp in it.auties.whatsapp.listener
Methods in it.auties.whatsapp.listener with parameters of type WhatsappModifier and TypeMethodDescriptionvoidOnWhatsappAboutChanged.onAboutChange(Whatsapp whatsapp, String oldAbout, String newAbout) Called when the companion's status changesdefault voidListener.onAboutChanged(Whatsapp whatsapp, String oldAbout, String newAbout) Called when the companion's about changesdefault voidListener.onAction(Whatsapp whatsapp, Action action, MessageIndexInfo messageIndexInfo) Called when the socket receives a sync from Whatsapp.voidOnWhatsappAction.onAction(Whatsapp whatsapp, Action action, MessageIndexInfo messageIndexInfo) Called when the socket receives a sync from Whatsapp.default voidCalled when a phone call arrivesvoidCalled when a phone call arrivesdefault voidListener.onChatMessagesSync(Whatsapp whatsapp, Chat chat, boolean last) Called when the socket receives the messages for a chat.voidOnWhatsappChatMessagesSync.onChatMessagesSync(Whatsapp whatsapp, Chat chat, boolean last) Called when the socket receives the recent message for a chatdefault voidListener.onChats(Whatsapp whatsapp, Collection<Chat> chats) Called when the socket receives all the chats from WhatsappWeb's Socket.voidOnWhatsappChats.onChats(Whatsapp whatsapp, Collection<Chat> chats) Called when the socket receives all the chats from WhatsappWeb's Socket.default voidListener.onContactBlocked(Whatsapp whatsapp, Contact contact) Called when a contact is blocked or unblockedvoidOnWhatsappContactBlocked.onContactBlocked(Whatsapp whatsapp, Contact contact) Called when a contact is blocked or unblockeddefault voidListener.onContactPresence(Whatsapp whatsapp, Chat chat, Jid jid, ContactStatus status) Called when the socket receives an update regarding the presence of a contactvoidOnWhatsappContactPresence.onContactPresence(Whatsapp whatsapp, Chat chat, Jid jid, ContactStatus status) Called when the socket receives an update regarding the presence of a contactdefault voidListener.onContacts(Whatsapp whatsapp, Collection<Contact> contacts) Called when the socket receives all the contacts from WhatsappWeb's SocketvoidOnWhatsappContacts.onContacts(Whatsapp whatsapp, Collection<Contact> contacts) Called when the socket receives all the contacts from WhatsappWeb's WebSocketdefault voidListener.onDisconnected(Whatsapp whatsapp, DisconnectReason reason) Called when the socket successfully disconnects from WhatsappWeb's SocketvoidOnWhatsappDisconnected.onDisconnected(Whatsapp whatsapp, DisconnectReason reason) Called when the socket successfully disconnects from WhatsappWeb's WebSocketdefault voidListener.onFeatures(Whatsapp whatsapp, List<String> features) Called when the socket receives new features from Whatsapp.voidOnWhatsappFeatures.onFeatures(Whatsapp whatsapp, List<String> features) Called when the socket receives new features from Whatsapp.default voidListener.onGroupPictureChanged(Whatsapp whatsapp, Chat group) Called when a group's picture changesvoidOnWhatsappGroupPictureChange.onGroupPictureChanged(Whatsapp whatsapp, Chat group) Called when a group's picture changesdefault voidListener.onHistorySyncProgress(Whatsapp whatsapp, int percentage, boolean recent) Called when the socket receives the sync percentage for the full or recent chunk of messages.voidOnWhatsappHistorySyncProgress.onHistorySyncProgress(Whatsapp whatsapp, int percentage, boolean recent) Called when the socket receives the sync percentage for the full or recent chunk of messages.default voidListener.onLinkedDevices(Whatsapp whatsapp, Collection<Jid> devices) Called when the list of companion devices is updatedvoidOnWhatsappLinkedDevices.onLinkedDevices(Whatsapp whatsapp, Collection<Jid> devices) Called when the list of companion devices is updateddefault voidListener.onLocaleChanged(Whatsapp whatsapp, CountryLocale oldLocale, CountryLocale newLocale) Called when the companion's locale changesvoidOnWhatsappLocaleChanged.onLocaleChanged(Whatsapp whatsapp, CountryLocale oldLocale, CountryLocale newLocale) Called when the companion's locale changesdefault voidListener.onLoggedIn(Whatsapp whatsapp) Called when the socket successfully establishes a connection and logs in into an account.voidOnWhatsappLoggedIn.onLoggedIn(Whatsapp whatsapp) Called when the socket successfully establishes a connection and logs in into an account.default voidListener.onMessageDeleted(Whatsapp whatsapp, MessageInfo info, boolean everyone) Called when a message is deletedvoidOnWhatsappMessageDeleted.onMessageDeleted(Whatsapp whatsapp, MessageInfo info, boolean everyone) Called when a message is deleteddefault voidListener.onMessageReply(Whatsapp whatsapp, ChatMessageInfo response, QuotedMessageInfo quoted) Called when a message answers a previous messagevoidOnWhatsappMessageReply.onMessageReply(Whatsapp whatsapp, ChatMessageInfo info, QuotedMessageInfo quoted) Called when a message answers a previous messagedefault voidListener.onMessageStatus(Whatsapp whatsapp, MessageInfo info) Called when the status of a message changes inside a chatvoidOnWhatsappMessageStatus.onMessageStatus(Whatsapp whatsapp, MessageInfo info) Called when the status of a message changesdefault voidListener.onMetadata(Whatsapp whatsapp, Map<String, String> metadata) Called when an updated list of properties is received.voidOnWhatsappMetadata.onMetadata(Whatsapp whatsapp, Map<String, String> metadata) Called when an updated list of properties is received.default voidListener.onNameChanged(Whatsapp whatsapp, String oldName, String newName) Called when the companion's name changesvoidOnWhatsappNameChanged.onNameChanged(Whatsapp whatsapp, String oldName, String newName) Called when the companion's name changesdefault voidListener.onNewContact(Whatsapp whatsapp, Contact contact) Called when the socket receives a new contactdefault voidListener.onNewMessage(Whatsapp whatsapp, MessageInfo info) Called when a new message is received in a chatvoidOnWhatsappNewMessage.onNewMessage(Whatsapp whatsapp, MessageInfo info) Called when a new message is received in a chatdefault voidListener.onNewsletters(Whatsapp whatsapp, Collection<Newsletter> newsletters) Called when the socket receives all the newsletters from WhatsappWeb's SocketvoidOnWhatsappNewsletters.onNewsletters(Whatsapp whatsapp, Collection<Newsletter> newsletters) Called when the socket receives all the newsletters from WhatsappWeb's Socketdefault voidListener.onNewStatus(Whatsapp whatsapp, ChatMessageInfo status) Called when the socket receives a new status from WhatsappWeb's SocketvoidOnWhatsappNewStatus.onNewStatus(Whatsapp whatsapp, ChatMessageInfo status) Called when the socket receives a new status from WhatsappWeb's Socketdefault voidListener.onNodeReceived(Whatsapp whatsapp, Node incoming) Called when the socket receives a node from WhatsappvoidOnWhatsappNodeReceived.onNodeReceived(Whatsapp whatsapp, Node incoming) Called when the socket receives a node from Whatsappdefault voidListener.onNodeSent(Whatsapp whatsapp, Node outgoing) Called when the socket sends a node to WhatsappvoidOnWhatsappNodeSent.onNodeSent(Whatsapp whatsapp, Node outgoing) Called when the socket sends a node to Whatsappdefault voidListener.onPrivacySettingChanged(Whatsapp whatsapp, PrivacySettingEntry oldPrivacyEntry, PrivacySettingEntry newPrivacyEntry) Called when a privacy setting is modifiedvoidOnWhatsappPrivacySettingChanged.onPrivacySettingChanged(Whatsapp whatsapp, PrivacySettingEntry oldPrivacyEntry, PrivacySettingEntry newPrivacyEntry) Called when a privacy setting is modifieddefault voidListener.onProfilePictureChanged(Whatsapp whatsapp, Contact contact) Called when a contact's profile picture changesdefault voidListener.onProfilePictureChanged(Whatsapp whatsapp, URI oldPicture, URI newPicture) Called when the companion's picture changesvoidOnWhatsappContactPictureChanged.onProfilePictureChanged(Whatsapp whatsapp, Contact contact) Called when a contact's profile picture changesvoidOnWhatsappProfilePictureChanged.onProfilePictureChanged(Whatsapp whatsapp, URI oldPicture, URI newPicture) Called when the companion's picture changesdefault voidListener.onRegistrationCode(Whatsapp whatsapp, long code) Called when an OTP is requested from a new device Only works on the mobile APIvoidOnWhatsappRegistrationCode.onRegistrationCode(Whatsapp whatsapp, long code) Called when an OTP is requested from a new device Only works on the mobile APIdefault voidCalled when the socket receives a setting change from Whatsapp.voidCalled when the socket receives a setting change from Whatsapp.default voidListener.onSocketEvent(Whatsapp whatsapp, SocketEvent event) Called when an event regarding the underlying is firedvoidOnWhatsappSocketEvent.onSocketEvent(Whatsapp whatsapp, SocketEvent event) Called when an event regarding the underlying is fireddefault voidListener.onStatus(Whatsapp whatsapp, Collection<ChatMessageInfo> status) Called when the socket receives all the status updated from WhatsappWeb's Socket.voidOnWhatsappMediaStatus.onStatus(Whatsapp whatsapp, Collection<ChatMessageInfo> status) Called when the socket receives all the status updated from WhatsappWeb's Socket. -
Uses of Whatsapp in it.auties.whatsapp.util
Methods in it.auties.whatsapp.util with parameters of type Whatsapp