it.auties.whatsapp.api.SocketEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whatsappweb4j Show documentation
Show all versions of whatsappweb4j Show documentation
Standalone fully-featured Whatsapp Web API for Java and Kotlin
package it.auties.whatsapp.api;
/**
* The constants of this enumerated type describe the various types of events regarding a socket
*/
public enum SocketEvent {
/**
* Called when the socket is opened
*/
OPEN,
/**
* Called when the socket is closed
*/
CLOSE,
/**
* Called when an unexpected error is thrown, can be used as a safety mechanism
*/
ERROR,
/**
* Called when a ping is sent
*/
PING
}