- All Superinterfaces:
Listener
public interface OnSocketEvent
-
Method Summary
Modifier and TypeMethodDescriptiondefault QrHandler
onQRCode()
Called when the socket successfully establishes a connection with new secrets.void
onSocketEvent
(SocketEvent event) Called when an event regarding the underlying is firedMethods inherited from interface it.auties.whatsapp.listener.Listener
onAction, onAction, onChatRecentMessages, onChatRecentMessages, onChats, onChats, onContactPresence, onContactPresence, onContacts, onContacts, onDisconnected, onDisconnected, onFeatures, onFeatures, onLoggedIn, onLoggedIn, onMessageDeleted, onMessageDeleted, onMessageStatus, onMessageStatus, onMessageStatus, onMessageStatus, onMetadata, onMetadata, onNewContact, onNewContact, onNewMessage, onNewMessage, onNewStatus, onNewStatus, onNodeReceived, onNodeReceived, onNodeSent, onNodeSent, onSetting, onSetting, onSocketEvent, onStatus, onStatus
-
Method Details
-
onSocketEvent
Description copied from interface:Listener
Called when an event regarding the underlying is fired- Specified by:
onSocketEvent
in interfaceListener
- Parameters:
event
- the event
-
onQRCode
Description copied from interface:Listener
Called when the socket successfully establishes a connection with new secrets. By default, the QR code is printed to the console.
-